summaryrefslogtreecommitdiff
path: root/test-sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-sha1.c')
-rw-r--r--test-sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-sha1.c b/test-sha1.c
index 9b98d07c78..80daba980e 100644
--- a/test-sha1.c
+++ b/test-sha1.c
@@ -32,7 +32,7 @@ int main(int ac, char **av)
if (sz == 0)
break;
if (sz < 0)
- die("test-sha1: %s", strerror(errno));
+ die_errno("test-sha1");
this_sz += sz;
cp += sz;
room -= sz;