diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2012-12-02 22:21:40 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2012-12-02 22:21:40 +0000 |
commit | e0400738496382e498ebe75bfddec61bea3ecc62 (patch) | |
tree | 8b37c4f657d22d04bd0a3dbf01d7eb0fbdd07be2 /sys/kern/subr_terminal.c | |
parent | 76289396e692c20c85992224d045be51908d7291 (diff) | |
download | FreeBSD-src-e0400738496382e498ebe75bfddec61bea3ecc62.zip FreeBSD-src-e0400738496382e498ebe75bfddec61bea3ecc62.tar.gz |
Squash clang warnings.
Diffstat (limited to 'sys/kern/subr_terminal.c')
-rw-r--r-- | sys/kern/subr_terminal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_terminal.c b/sys/kern/subr_terminal.c index dea4895..a3ea764 100644 --- a/sys/kern/subr_terminal.c +++ b/sys/kern/subr_terminal.c @@ -183,7 +183,7 @@ terminal_maketty(struct terminal *tm, const char *fmt, ...) va_end(ap); tp = tty_alloc(&terminal_tty_class, tm); - tty_makedev(tp, NULL, name); + tty_makedev(tp, NULL, "%s", name); tm->tm_tty = tp; terminal_sync_ttysize(tm); } |