patch-ftpfs_h 580 B

12345678910111213141516
  1. $OpenBSD: patch-ftpfs_h,v 1.1.1.1 2013/12/17 15:39:42 jasper Exp $
  2. - Fix time_t format string.
  3. --- ftpfs.h.orig Mon Dec 16 10:36:18 2013
  4. +++ ftpfs.h Mon Dec 16 10:46:13 2013
  5. @@ -75,7 +75,7 @@ extern struct ftpfs ftpfs;
  6. do { if (level <= ftpfs.debug) {\
  7. int i = 0; \
  8. while (++i < level) fprintf(stderr, " "); \
  9. - fprintf(stderr, "%ld ", time(NULL));\
  10. + fprintf(stderr, "%lld ", time(NULL));\
  11. fprintf(stderr, __FILE__ ":%d ", __LINE__);\
  12. fprintf(stderr, args);\
  13. }\