From e0143a1aad60e9141245034379469477006dba81 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 5 Aug 2008 23:01:01 +0000 Subject: kbd_mode: remove erroneous & from &var. By Vladimir. --- console-tools/kbd_mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console-tools') diff --git a/console-tools/kbd_mode.c b/console-tools/kbd_mode.c index e15588137..2162fd4fc 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) -- cgit v1.2.3