Add branch --set-upstream
[gitweb.git] / builtin-fmt-merge-msg.c
index 1248d5e3a3b87df7b72e3afeadbc082040acb7ea..9d524000b5ba4d9c7566edd5756b68d728ec362b 100644 (file)
@@ -368,7 +368,7 @@ int cmd_fmt_merge_msg(int argc, const char **argv, const char *prefix)
        if (inpath && strcmp(inpath, "-")) {
                in = fopen(inpath, "r");
                if (!in)
-                       die("cannot open %s", inpath);
+                       die_errno("cannot open '%s'", inpath);
        }
 
        if (strbuf_read(&input, fileno(in), 0) < 0)