- remove erroneous & from &var. By Vladimir. (r23056 from trunk)
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 6 Aug 2008 08:21:27 +0000 (08:21 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 6 Aug 2008 08:21:27 +0000 (08:21 -0000)
console-tools/kbd_mode.c

index 16149571926856eb22e3d9140b3965e4935ee5a8..4de3bb650f4ab8abbde6b02f059adcc15fc29b3f 100644 (file)
@@ -46,7 +46,7 @@ int kbd_mode_main(int ATTRIBUTE_UNUSED argc, 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)