diff options
author | Lars Hjemli | 2008-11-06 19:18:27 +0100 |
---|---|---|
committer | Lars Hjemli | 2008-11-06 19:18:27 +0100 |
commit | b8a7eb12d459c48943e31762b24b169af8c427a1 (patch) | |
tree | bb5bfcf6e5f71a478e7586bd1d128aa94bfd7dbe /cache.c | |
parent | 140012d7a8e51df5a9f9c556696778b86ade4fc9 (diff) | |
parent | e4d2f2b042100182ff5b214fd6848b71d70fad7d (diff) | |
download | cgit-b8a7eb12d459c48943e31762b24b169af8c427a1.tar.gz cgit-b8a7eb12d459c48943e31762b24b169af8c427a1.tar.bz2 cgit-b8a7eb12d459c48943e31762b24b169af8c427a1.zip |
Merge branch 'stable'
Diffstat (limited to 'cache.c')
-rw-r--r-- | cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -416,11 +416,11 @@ int cache_ls(const char *path) | |||
416 | fullname, strerror(err), err); | 416 | fullname, strerror(err), err); |
417 | continue; | 417 | continue; |
418 | } | 418 | } |
419 | printf("%s %s %10zd %s\n", | 419 | printf("%s %s %10"PRIuMAX" %s\n", |
420 | name, | 420 | name, |
421 | sprintftime("%Y-%m-%d %H:%M:%S", | 421 | sprintftime("%Y-%m-%d %H:%M:%S", |
422 | slot.cache_st.st_mtime), | 422 | slot.cache_st.st_mtime), |
423 | slot.cache_st.st_size, | 423 | (uintmax_t)slot.cache_st.st_size, |
424 | slot.buf); | 424 | slot.buf); |
425 | close_slot(&slot); | 425 | close_slot(&slot); |
426 | } | 426 | } |