svn commit: trunk/busybox: procps util-linux

Denis Vlasenko vda.linux at googlemail.com
Sat Oct 28 00:04:22 UTC 2006


On Friday 27 October 2006 13:11, Bernhard Fischer wrote:
> On Fri, Oct 27, 2006 at 02:34:23AM -0700, vda at busybox.net wrote:
> >Author: vda
> >Date: 2006-10-27 02:34:22 -0700 (Fri, 27 Oct 2006)
> >New Revision: 16455
> >
> >Log:
> >top: batch mode should output all processes
> >
> >
> >Modified:
> >   trunk/busybox/procps/top.c
> >   trunk/busybox/util-linux/fdisk.c
> 
> >Modified: trunk/busybox/util-linux/fdisk.c
> >===================================================================
> >--- trunk/busybox/util-linux/fdisk.c	2006-10-27 09:05:40 UTC (rev 16454)
> >+++ trunk/busybox/util-linux/fdisk.c	2006-10-27 09:34:22 UTC (rev 16455)
> >@@ -2277,7 +2277,7 @@
> > 		if (start > limit)
> > 			break;
> > 		if (start >= temp+units_per_sector && num_read) {
> >-			printf(_("Sector %llu is already allocated\n"), (unsigned long long)temp);
> >+			printf(_("Sector "OFF_T_FMT" is already allocated\n"), temp);
> > 			temp = start;
> > 			num_read = 0;
> > 		}
> 
> $ svn up
> At revision 16455.
> $ make CC=gcc-3.4
>   CC      util-linux/fdisk.o
> util-linux/fdisk.c: In function `add_partition':
> util-linux/fdisk.c:2280: error: syntax error before "OFF_T_FMT"
> make[1]: *** [util-linux/fdisk.o] Error 1
> make: *** [util-linux] Error 2
> 
> Did you mean PRIu64 ?

I don't know what that is - off_t format string?
(Compile problem is due to typo, should be OFF_FMT)
--
vda



More information about the busybox mailing list