summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2006-01-26 19:06:11 +0000
committerAndreas Gruenbacher <agruen@suse.de>2006-01-26 19:06:11 +0000
commite3cf4a1051a1e0838bc885c301b2afc554afd41c (patch)
tree27e73e530d2bf7c541887b758d953c362364a047
parent1bd24d6142c601f40719e5b43799497705777329 (diff)
downloadquilt-e3cf4a1051a1e0838bc885c301b2afc554afd41c.tar.gz
- Use perror(progname) instead of perror(NULL).
-rw-r--r--lib/backup-files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backup-files.c b/lib/backup-files.c
index caace72..c7b704f 100644
--- a/lib/backup-files.c
+++ b/lib/backup-files.c
@@ -84,7 +84,7 @@ malloc_nofail(size_t size)
{
void *p = malloc(size);
if (!p) {
- perror(NULL);
+ perror(progname);
exit(1);
}
return p;