summaryrefslogtreecommitdiff
path: root/src/uptime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uptime.c')
-rw-r--r--src/uptime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uptime.c b/src/uptime.c
index 6718fbdbf..5118956ea 100644
--- a/src/uptime.c
+++ b/src/uptime.c
@@ -132,7 +132,7 @@ print_uptime (size_t n, const STRUCT_UTMP *this)
printf (ngettext ("%lu user", "%lu users", entries),
(unsigned long int) entries);
-#if defined (HAVE_GETLOADAVG) || defined (C_GETLOADAVG)
+#if defined HAVE_GETLOADAVG || defined C_GETLOADAVG
loads = getloadavg (avg, 3);
#else
loads = -1;