opnsense-ports/misc/ytree/files/patch-filewin.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
679 B
C

--- filewin.c.orig Sat Jun 16 23:16:26 2001
+++ filewin.c Sat Jun 16 23:17:06 2001
@@ -626,7 +626,7 @@
sym_link_name
);
#else
- (void) sprintf( format, "%%c%%c%%-%ds %%10s %%3d %%7d %%12s -> %%-%ds",
+ (void) sprintf( format, "%%c%%c%%-%ds %%10s %%3d %%7qd %%12s -> %%-%ds",
max_filename_len,
max_linkname_len
);
@@ -661,7 +661,7 @@
modify_time
);
#else
- (void) sprintf( format, "%%c%%c%%%c%ds %%10s %%3d %%7d %%12s",
+ (void) sprintf( format, "%%c%%c%%%c%ds %%10s %%3d %%7qd %%12s",
justify,
max_filename_len
);