We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8d68493 + 97f261b commit 3daff7cCopy full SHA for 3daff7c
builtin/init-db.c
@@ -351,7 +351,7 @@ static void separate_git_dir(const char *git_dir)
351
else if (S_ISDIR(st.st_mode))
352
src = git_link;
353
else
354
- die(_("unable to handle file type %d"), st.st_mode);
+ die(_("unable to handle file type %d"), (int)st.st_mode);
355
356
if (rename(src, git_dir))
357
die_errno(_("unable to move %s to %s"), src, git_dir);
0 commit comments