summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/who/who.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/who/who.c b/usr.bin/who/who.c
index 5db4f88..bd8b68c 100644
--- a/usr.bin/who/who.c
+++ b/usr.bin/who/who.c
@@ -109,7 +109,7 @@ main(int argc, char *argv[])
usage();
if (*argv != NULL) {
- if (ulog_setutxfile(UTXF_UTMP, *argv) != 0)
+ if (ulog_setutxfile(UTXI_TTY, *argv) != 0)
err(1, "%s", *argv);
}
OpenPOWER on IntegriCloud