diff options
| author | Alexander Langer <alex@FreeBSD.org> | 1996-10-26 15:29:24 +0000 |
|---|---|---|
| committer | Alexander Langer <alex@FreeBSD.org> | 1996-10-26 15:29:24 +0000 |
| commit | 0adcbd83f1b7232cf3cd37de813e4181508dc990 (patch) | |
| tree | 1e0258b758c176f2ebc599c851c4b92677f11695 /usr.bin/write | |
| parent | 9ee40678bbdcedc6a3ac1e311abe740018911cf1 (diff) | |
Notes
Diffstat (limited to 'usr.bin/write')
| -rw-r--r-- | usr.bin/write/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/write/write.c b/usr.bin/write/write.c index 601663bad9f6..dd0248dab626 100644 --- a/usr.bin/write/write.c +++ b/usr.bin/write/write.c @@ -104,7 +104,7 @@ main(argc, argv) break; case 3: if (!strncmp(argv[2], _PATH_DEV, strlen(_PATH_DEV))) - argv[2] += 5; + argv[2] += strlen(_PATH_DEV); if (utmp_chk(argv[1], argv[2])) { (void)fprintf(stderr, "write: %s is not logged in on %s.\n", |
