diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2000-08-27 01:17:11 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2000-08-27 01:17:11 +0000 |
| commit | a03884671d70e87bb6c539060c7ba0c4487be075 (patch) | |
| tree | d851486ff917a971a1d01b64c2b50f31e50441d6 /usr.bin | |
| parent | a6b474b6c1de12d2b002c0d59a0955179cb6f5e1 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/killall/killall.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/killall/killall.c b/usr.bin/killall/killall.c index 88c3f28d9cf1..761f189c06cb 100644 --- a/usr.bin/killall/killall.c +++ b/usr.bin/killall/killall.c @@ -63,11 +63,8 @@ upper(const char *str) strncpy(buf, str, sizeof(buf)); buf[sizeof(buf) - 1] = '\0'; - s = buf; - while (*s) { + for (s = buf; *s; s++) *s = toupper(*s); - s++; - } return buf; } |
