aboutsummaryrefslogtreecommitdiff
path: root/builtin-stripspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin-stripspace.c')
-rw-r--r--builtin-stripspace.c2
1 files changed, 1 insertions, 1 deletions
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);