diff options
Diffstat (limited to 'loginutils/deluser.c')
-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 b647537d9..1b9bc4439 100644 --- a/loginutils/deluser.c +++ b/loginutils/deluser.c | |||
@@ -43,7 +43,7 @@ static inline Bounds boundary(const char *buffer, const char *login) | |||
43 | } | 43 | } |
44 | start++; | 44 | start++; |
45 | 45 | ||
46 | stop = index(start, '\n'); /* index is a BSD-ism */ | 46 | stop = strchr(start, '\n'); |
47 | b.start = start - buffer; | 47 | b.start = start - buffer; |
48 | b.stop = stop - buffer; | 48 | b.stop = stop - buffer; |
49 | return b; | 49 | return b; |