[Toybox] [PATCH] add missing argument to error_msg call in sysctl's process_key
enh
enh at google.com
Wed Feb 25 21:36:30 PST 2015
diff --git a/toys/other/sysctl.c b/toys/other/sysctl.c
index 8e57ca1..3c12058 100644
--- a/toys/other/sysctl.c
+++ b/toys/other/sysctl.c
@@ -97,8 +97,7 @@ static void process_key(char *key, char *value)
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;
}
1424928990.0
More information about the Toybox
mailing list