diff options
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/login.c b/loginutils/login.c index 277fc98..88123c0 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -338,7 +338,7 @@ static int check_tty ( const char *tty ) if (( fp = fopen ( bb_path_securetty_file, "r" ))) { while ( fgets ( buf, sizeof( buf ) - 1, fp )) { - for ( i = bb_strlen( buf ) - 1; i >= 0; --i ) { + for ( i = strlen( buf ) - 1; i >= 0; --i ) { if ( !isspace ( buf[i] )) break; } |