Permalink
Browse files

Made it compile

  • Loading branch information...
1 parent 0ccb39c commit 737bceab9a64845694ee7f750b605e827da62db8 @slundqui slundqui committed Apr 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 filesystem/file_test.c
@@ -717,7 +717,7 @@ int main(int argc, char *argv[]) {
/*Initial split of line*/
init_arg = strtok(line, " ");
/*If there exists arguments*/
- if (strcmp(init_arg, "\n" != 0) {
+ if (strcmp(init_arg, "\n") != 0) {
if (!strcmp(init_arg, "DEVICES\n")) {
printf("LIST USER called\n");
list_devices();
@@ -740,7 +740,7 @@ int main(int argc, char *argv[]) {
printf("Usage: LIST [DEVICES|FILEINFO <filename>|DIRECTORY]\n");
textcolor(RESET, -1, -1);
}
-
+ }
else if (!strcmp(command, "#")) {
printf("\n################################################################################\n");

0 comments on commit 737bcea

Please sign in to comment.