OSDN Git Service

Silence a broken warning by hitting it with a rock.
authorRob Landley <rob@landley.net>
Tue, 11 Apr 2017 18:38:37 +0000 (13:38 -0500)
committerRob Landley <rob@landley.net>
Tue, 11 Apr 2017 18:38:37 +0000 (13:38 -0500)
toys/posix/ls.c

index da0a142..8dc5536 100644 (file)
@@ -413,7 +413,7 @@ static void listfiles(int dirfd, struct dirtree *indir)
         xputc('\n');
         width = 0;
       } else {
-        printf("  "+mm);
+        printf("  "+mm, 0); // shut up the stupid compiler
         width += 2-mm;
       }
     }