ports/sysutils/curlftpfs/patches/patch-ftpfs_h

13 lines
512 B
Text

- Fix time_t format string.
--- ftpfs.h.orig Mon Dec 16 10:36:18 2013
+++ ftpfs.h Mon Dec 16 10:46:13 2013
@@ -75,7 +75,7 @@ extern struct ftpfs ftpfs;
do { if (level <= ftpfs.debug) {\
int i = 0; \
while (++i < level) fprintf(stderr, " "); \
- fprintf(stderr, "%ld ", time(NULL));\
+ fprintf(stderr, "%lld ", time(NULL));\
fprintf(stderr, __FILE__ ":%d ", __LINE__);\
fprintf(stderr, args);\
}\