On x86_64 from Git...
cc1: warnings being treated as errors
coreutils/df.c: In function 'df_main':
coreutils/df.c:186: error: field width should have type 'int', but argument 3
has type 'size_t'
make[1]: *** [coreutils/df.o] Error 1
make: *** [coreutils] Error 2
I'm sure if this is right but it fixed the warning/error.
--- coreutils/df.c.orig 2009-10-21 20:34:55.000000000 +1000
+++ coreutils/df.c 2009-10-21 20:36:21.000000000 +1000
@@ -183,7 +183,7 @@
if (dev_len > 20) {
printf("%s\n%20s", device, "");
} else {
- printf("%s%*s", device, 20 - dev_len, "");
+ printf("%s%*s", device, 20 - (int)dev_len, "");
}
#else
if (printf("\n%-20s" + 1, device) > 20)
--markc
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox