diff options
author | murray <murray@FreeBSD.org> | 2007-08-27 21:56:42 +0000 |
---|---|---|
committer | murray <murray@FreeBSD.org> | 2007-08-27 21:56:42 +0000 |
commit | bcf80156aca55ce61e93689631452f3728c8ba23 (patch) | |
tree | b6700409793b18a91980c92a4b6abdf6d54f7a87 | |
parent | a1508bad9dd39c14b76a95ef3782bf2009329949 (diff) | |
download | FreeBSD-src-bcf80156aca55ce61e93689631452f3728c8ba23.zip FreeBSD-src-bcf80156aca55ce61e93689631452f3728c8ba23.tar.gz |
Output keymap choice to stderr so it is easier to parse for apps chained to
this curses based app.
Submitted by: ivoras
Approved by: re@ (bmah@)
-rw-r--r-- | usr.sbin/kbdmap/kbdmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/kbdmap/kbdmap.c b/usr.sbin/kbdmap/kbdmap.c index 8d913d8..474553d 100644 --- a/usr.sbin/kbdmap/kbdmap.c +++ b/usr.sbin/kbdmap/kbdmap.c @@ -288,7 +288,7 @@ do_kbdcontrol(struct keymap *km) if (!x11) system(kbd_cmd); - printf("keymap=%s\n", km->keym); + fprintf(stderr, "keymap=%s\n", km->keym); free(kbd_cmd); } |