summaryrefslogtreecommitdiffhomepage
path: root/console-tools
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-09-25 10:39:10 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-09-25 10:39:10 +0000
commitea7c9b3366f0e97273b011b3c0b3fee9a25e8c15 (patch)
tree12ebd5d8d0fea2c9adaac1cd61bbc7626bf63859 /console-tools
parentcac0f5b7e552adee46b8e35ae66b6465f4903c37 (diff)
whitespace fixes
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/showkey.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/console-tools/showkey.c b/console-tools/showkey.c
index e4603e2d3..ee9318084 100644
--- a/console-tools/showkey.c
+++ b/console-tools/showkey.c
@@ -72,9 +72,9 @@ int showkey_main(int argc UNUSED_PARAM, char **argv)
// get keyboard settings
xioctl(STDIN_FILENO, KDGKBMODE, &kbmode);
printf("kb mode was %s\n\nPress any keys. Program terminates %s\n\n",
- kbmode == K_RAW ? "RAW" :
- (kbmode == K_XLATE ? "XLATE" :
- (kbmode == K_MEDIUMRAW ? "MEDIUMRAW" :
+ kbmode == K_RAW ? "RAW" :
+ (kbmode == K_XLATE ? "XLATE" :
+ (kbmode == K_MEDIUMRAW ? "MEDIUMRAW" :
(kbmode == K_UNICODE ? "UNICODE" : "?UNKNOWN?")))
, (option_mask32 & OPT_a) ? "when CTRL+D pressed" : "10s after last keypress"
);