diff options
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; |