summaryrefslogtreecommitdiff
path: root/util-linux/hwclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/hwclock.c')
-rw-r--r--util-linux/hwclock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index 5992d84..2fe57b2 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -109,7 +109,7 @@ static int show_clock(int utc)
safe_strncpy ( buffer, ctime ( &t ), 64);
if ( buffer [0] )
- buffer [bb_strlen ( buffer ) - 1] = 0;
+ buffer [strlen ( buffer ) - 1] = 0;
//printf ( "%s %.6f seconds %s\n", buffer, 0.0, utc ? "" : ( ptm-> tm_isdst ? tzname [1] : tzname [0] ));
printf ( "%s %.6f seconds\n", buffer, 0.0 );
@@ -157,7 +157,7 @@ static int check_utc(void)
RESERVE_CONFIG_BUFFER(buffer, 128);
while ( fgets ( buffer, sizeof( buffer ), f )) {
- int len = bb_strlen ( buffer );
+ int len = strlen ( buffer );
while ( len && isspace ( buffer [len - 1] ))
len--;