X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-stripspace.c;h=1fd2205d530ad510a18ff5a441ca7b5cb1cc34a6;hb=aa8dc9679a6a7daea261abe969af331c741a9f2c;hp=d6e3896c006796ccca12c00de45e36583387f05b;hpb=934747323c397ffe64b6dcdf2bf73128d8e36968;p=git.git diff --git a/builtin-stripspace.c b/builtin-stripspace.c index d6e3896c0..1fd2205d5 100644 --- a/builtin-stripspace.c +++ b/builtin-stripspace.c @@ -78,7 +78,7 @@ int cmd_stripspace(int argc, const char **argv, const char *prefix) strip_comments = 1; if (strbuf_read(&buf, 0, 1024) < 0) - die("could not read the input"); + die_errno("could not read the input"); stripspace(&buf, strip_comments);