summaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
authorDenis Vlasenko2008-08-05 23:01:01 +0000
committerDenis Vlasenko2008-08-05 23:01:01 +0000
commite0143a1aad60e9141245034379469477006dba81 (patch)
treeaf7799e3deeea80f3f1be8d712dda2a71d405252 /console-tools
parentdb29f5e73e1c44e9f30aa6e78c9eee159b901892 (diff)
downloadbusybox-e0143a1aad60e9141245034379469477006dba81.zip
busybox-e0143a1aad60e9141245034379469477006dba81.tar.gz
kbd_mode: remove erroneous & from &var. By Vladimir.
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/kbd_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/kbd_mode.c b/console-tools/kbd_mode.c
index e155881..2162fd4 100644
--- a/console-tools/kbd_mode.c
+++ b/console-tools/kbd_mode.c
@@ -46,7 +46,7 @@ int kbd_mode_main(int argc UNUSED_PARAM, char **argv)
printf("The keyboard is in %s mode\n", mode);
} else {
opt = opt & UNICODE ? 3 : opt >> 1;
- xioctl(fd, KDSKBMODE, &opt);
+ xioctl(fd, KDSKBMODE, opt);
}
if (ENABLE_FEATURE_CLEAN_UP)