aboutsummaryrefslogtreecommitdiff
path: root/toys/other/sysctl.c
diff options
context:
space:
mode:
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 a123110e..ad643c92 100644
--- a/toys/other/sysctl.c
+++ b/toys/other/sysctl.c
@@ -50,7 +50,7 @@ static void key_error(char *key)
static int write_key(char *path, char *key, char *value)
{
- int fd = open(path, O_WRONLY);;
+ int fd = open(path, O_WRONLY);
if (fd < 0) {
key_error(key);