about summary refs log tree commit diff stats
path: root/cache.c
diff options
context:
space:
mode:
authorLars Hjemli2008-11-06 19:18:27 +0100
committerLars Hjemli2008-11-06 19:18:27 +0100
commitb8a7eb12d459c48943e31762b24b169af8c427a1 (patch)
treebb5bfcf6e5f71a478e7586bd1d128aa94bfd7dbe /cache.c
parentCGIT 0.8.1 (diff)
parentFix tests to work on Ubuntu (dash) (diff)
downloadcgit-b8a7eb12d459c48943e31762b24b169af8c427a1.tar.gz
cgit-b8a7eb12d459c48943e31762b24b169af8c427a1.zip
Merge branch 'stable'
Diffstat (limited to 'cache.c')
-rw-r--r--cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cache.c b/cache.c index 57068a1..d7a8d5a 100644 --- a/cache.c +++ b/cache.c
@@ -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 }