aboutsummaryrefslogtreecommitdiff
path: root/toys/other/sysctl.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-03-01 15:58:40 -0600
committerRob Landley <rob@landley.net>2015-03-01 15:58:40 -0600
commit70a84a356b1c56743618362867b9300007d11998 (patch)
tree2db214da036464cd76a2accb1191e3a9cdc1fc26 /toys/other/sysctl.c
parent7c3c6a9639ee41fb750f78d87dc8a6cbe4e421a5 (diff)
downloadtoybox-70a84a356b1c56743618362867b9300007d11998.tar.gz
Patches from Elliott Hughes to add missing arguments to error_exit() calls.
Diffstat (limited to 'toys/other/sysctl.c')
-rw-r--r--toys/other/sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/sysctl.c b/toys/other/sysctl.c
index 8e57ca1d..d3c4d81d 100644
--- a/toys/other/sysctl.c
+++ b/toys/other/sysctl.c
@@ -97,7 +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;
}