X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Finit-db.c;h=0dacb8b79c57cae2b789eb84d7cfbdb1654ba52f;hb=1c5f93b9a69f4c1c3d09853243562b9ae3bf79a6;hp=d07554c8844a9b7dd3d4ae2b5efe2cbde623e4af;hpb=01e0f162a70f61de0b7aa0e9d8c49c03cbafeb64;p=git.git diff --git a/builtin/init-db.c b/builtin/init-db.c index d07554c88..0dacb8b79 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);