OSDN Git Service

Fix perror_exit_raw.
authorElliott Hughes <enh@google.com>
Sat, 9 Jan 2016 19:47:35 +0000 (11:47 -0800)
committerRob Landley <rob@landley.net>
Mon, 11 Jan 2016 03:19:31 +0000 (21:19 -0600)
Some things are worse when you remove the 'p'.

lib/lib.c

index c4191d6..3e41c63 100644 (file)
--- a/lib/lib.c
+++ b/lib/lib.c
@@ -98,7 +98,7 @@ void error_exit_raw(char *msg)
 
 void perror_exit_raw(char *msg)
 {
-  error_exit("%s", msg);
+  perror_exit("%s", msg);
 }
 
 // Keep reading until full or EOF