summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/uptime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uptime.c b/src/uptime.c
index ce39fead0..b3351ef35 100644
--- a/src/uptime.c
+++ b/src/uptime.c
@@ -98,7 +98,7 @@ print_uptime (int n, const STRUCT_UTMP *this)
# if HAVE_PROC_UPTIME
if (uptime == 0)
# endif /* HAVE_PROC_UPTIME */
- if (!strcmp (this->ut_line, BOOT_MSG))
+ if (STREQ (this->ut_line, BOOT_MSG))
boot_time = UT_TIME_MEMBER (this);
#endif /* BOOT_MSG */
++this;