diff options
| author | Steve Price <steve@FreeBSD.org> | 1998-12-24 18:20:58 +0000 |
|---|---|---|
| committer | Steve Price <steve@FreeBSD.org> | 1998-12-24 18:20:58 +0000 |
| commit | 0d5ad2d7ff49c2e94e7a9ce8e8bde8ae2e12ad2e (patch) | |
| tree | 2f5be123fe346cb62b44e1cda3677637cf7daf20 /usr.bin/w | |
| parent | a124f32704318569abc0452036ea625e5c642ac2 (diff) | |
Notes
Diffstat (limited to 'usr.bin/w')
| -rw-r--r-- | usr.bin/w/w.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c index 44d8009fc8da..c40d666f51d3 100644 --- a/usr.bin/w/w.c +++ b/usr.bin/w/w.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)w.c 8.4 (Berkeley) 4/16/94"; #endif static const char rcsid[] = - "$Id: w.c,v 1.28 1998/06/09 04:35:20 imp Exp $"; + "$Id: w.c,v 1.29 1998/11/09 01:19:30 steve Exp $"; #endif /* not lint */ /* @@ -141,7 +141,7 @@ main(argc, argv) (void) setlocale(LC_ALL, ""); /* Are we w(1) or uptime(1)? */ - if (strstr(__progname, "uptime")) { + if (strstr(argv[0], "uptime")) { wcmd = 0; p = ""; } else { |
