diff options
Diffstat (limited to 'usr.bin/finger/util.c')
-rw-r--r-- | usr.bin/finger/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/finger/util.c b/usr.bin/finger/util.c index 54c68f0..dbf5e5f 100644 --- a/usr.bin/finger/util.c +++ b/usr.bin/finger/util.c @@ -326,7 +326,7 @@ find_idle_and_ttywrite(w) (void)snprintf(tbuf, sizeof(tbuf), "%s/%s", _PATH_DEV, w->tty); if (stat(tbuf, &sb) < 0) { - warn(tbuf); + warn("%s", tbuf); return; } w->idletime = now < sb.st_atime ? 0 : now - sb.st_atime; |