kbd_mode: remove erroneous & from &var. By Vladimir.

This commit is contained in:
Denis Vlasenko 2008-08-05 23:01:01 +00:00
parent db29f5e73e
commit e0143a1aad

View File

@ -46,7 +46,7 @@ int kbd_mode_main(int argc UNUSED_PARAM, char **argv)
printf("The keyboard is in %s mode\n", mode); printf("The keyboard is in %s mode\n", mode);
} else { } else {
opt = opt & UNICODE ? 3 : opt >> 1; opt = opt & UNICODE ? 3 : opt >> 1;
xioctl(fd, KDSKBMODE, &opt); xioctl(fd, KDSKBMODE, opt);
} }
if (ENABLE_FEATURE_CLEAN_UP) if (ENABLE_FEATURE_CLEAN_UP)