X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=test-sha1.c;h=80daba980ecd85852ee3a23c155602e4cd1ba07a;hb=cc999a3a0845fcab83a8dcecd3fcdd86f03c10b6;hp=9b98d07c786b36f005f4b3ffd51926f3c1a343dd;hpb=66fd74ea5db13e6f095f7c414e9ea4a1aa59cdc7;p=git.git diff --git a/test-sha1.c b/test-sha1.c index 9b98d07c7..80daba980 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;