setkeycodes: something horrible happened here

to indentation... fixed now
This commit is contained in:
Denis Vlasenko 2006-09-09 13:23:04 +00:00
parent 42dfcd2612
commit 8fafacd7ec

View File

@ -51,8 +51,7 @@ setkeycodes_main(int argc, char** argv)
bb_error_msg_and_die("SCANCODE or KEYCODE outside bounds"); bb_error_msg_and_die("SCANCODE or KEYCODE outside bounds");
} }
if (ioctl(fd,KDSETKEYCODE,&a)) { if (ioctl(fd,KDSETKEYCODE,&a)) {
perror("KDSETKEYCODE"); bb_perror_msg_and_die("failed to set SCANCODE %x to KEYCODE %d", sc, a.keycode);
bb_error_msg_and_die("failed to set SCANCODE %x to KEYCODE %d", sc, a.keycode);
} }
argc -= 2; argc -= 2;
argv += 2; argv += 2;