diff toys/other/sysctl.c @ 1713:58d9f1b61f0a draft

Patches from Elliott Hughes to add missing arguments to error_exit() calls.
author Rob Landley <rob@landley.net>
date Sun, 01 Mar 2015 15:58:40 -0600
parents 1a8108bda4c1
children 57f2a26fa92c
line wrap: on
line diff
--- a/toys/other/sysctl.c	Sun Mar 01 15:48:49 2015 -0600
+++ b/toys/other/sysctl.c	Sun Mar 01 15:58:40 2015 -0600
@@ -97,7 +97,7 @@
 
   if (!value) value = split_key(key);
   if ((toys.optflags & FLAG_w) && !value) {
-    error_msg("'%s' not key=value");
+    error_msg("'%s' not key=value", key);
 
     return;
   }