[Toybox] [PATCH] Fix perror_exit_raw.

enh enh at google.com
Sat Jan 9 11:49:42 PST 2016


Some things are worse when you remove the 'p'.
---
 lib/lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/lib.c b/lib/lib.c
index c4191d6..3e41c63 100644
--- 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
-- 
2.6.0.rc2.230.g3dd15c0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-perror_exit_raw.patch
Type: text/x-patch
Size: 607 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160109/78cac44f/attachment-0002.bin>


More information about the Toybox mailing list