OSDN Git Service

Add missing liblog dependency
[android-x86/external-toybox.git] / toys / other / sysctl.c
index a123110..ad643c9 100644 (file)
@@ -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);