diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-21 22:15:18 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-21 22:15:18 +0000 |
commit | 2f0ee45629c0703e66045878fc3303f030644915 (patch) | |
tree | 9300245e6b61f13aa1321b1ae5ed9548977500ae /sys/stand/boot | |
parent | 47a6f03a90bed19d5c10450395498908ed2ce17c (diff) |
print ttyname w/o format string
Diffstat (limited to 'sys/stand/boot')
-rw-r--r-- | sys/stand/boot/cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/stand/boot/cmd.c b/sys/stand/boot/cmd.c index 4c13de98db0..c2c9678f655 100644 --- a/sys/stand/boot/cmd.c +++ b/sys/stand/boot/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.26 1997/08/21 22:04:32 mickey Exp $ */ +/* $OpenBSD: cmd.c,v 1.27 1997/08/21 22:15:17 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -406,7 +406,7 @@ Xtty() dev_t dev; if (cmd.argc == 1) - printf("%s", ttyname(0)); + printf(ttyname(0)); else { dev = ttydev(cmd.argv[1]); if (dev == NODEV) |