diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-12-20 16:34:20 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-20 16:34:20 -0800 |
commit | 3daff7c31998faedbe0dd7e2b8651e351be40d64 (patch) | |
tree | 874039c5b8eeb1a45b20e1387424d5e92806ff0d | |
parent | Merge branch 'mh/ref-api' (diff) | |
parent | builtin/init-db.c: eliminate -Wformat warning on Solaris (diff) | |
download | tgif-3daff7c31998faedbe0dd7e2b8651e351be40d64.tar.xz |
Merge branch 'maint'
* maint:
builtin/init-db.c: eliminate -Wformat warning on Solaris
-rw-r--r-- | builtin/init-db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/init-db.c b/builtin/init-db.c index d07554c884..0dacb8b79c 100644 --- a/builtin/init-db.c +++ b/builtin/init-db.c @@ -351,7 +351,7 @@ static void separate_git_dir(const char *git_dir) else if (S_ISDIR(st.st_mode)) src = git_link; else - die(_("unable to handle file type %d"), st.st_mode); + die(_("unable to handle file type %d"), (int)st.st_mode); if (rename(src, git_dir)) die_errno(_("unable to move %s to %s"), src, git_dir); |