diff options
author | Mike Frysinger | 2006-04-16 05:54:31 +0000 |
---|---|---|
committer | Mike Frysinger | 2006-04-16 05:54:31 +0000 |
commit | 0436b9f482ec690c35488e8d5fc92a7100e0b21e (patch) | |
tree | 25d75b497ecaf89f7d996a5e1f0bca7bad0dfdcb /loginutils | |
parent | 78bd504947637b39c5f80134c553602b7dccf281 (diff) | |
download | busybox-0436b9f482ec690c35488e8d5fc92a7100e0b21e.zip busybox-0436b9f482ec690c35488e8d5fc92a7100e0b21e.tar.gz |
use strchr() not index()
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/deluser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/deluser.c b/loginutils/deluser.c index b647537..1b9bc44 100644 --- a/loginutils/deluser.c +++ b/loginutils/deluser.c @@ -43,7 +43,7 @@ static inline Bounds boundary(const char *buffer, const char *login) } start++; - stop = index(start, '\n'); /* index is a BSD-ism */ + stop = strchr(start, '\n'); b.start = start - buffer; b.stop = stop - buffer; return b; |