diff options
author | Jim Meyering <jim@meyering.net> | 1996-10-12 04:17:25 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-10-12 04:17:25 +0000 |
commit | d0909b6911788cca8fc227fbea76db48af6eaa55 (patch) | |
tree | 29f7f8294f7f80ee90100d8038c9e977ec4c53ee /src/who-users.c | |
parent | a64289005dded577e49d42444a5def00c5c290b2 (diff) | |
download | coreutils-d0909b6911788cca8fc227fbea76db48af6eaa55.tar.xz |
(print_uptime): Change #ifdef guard on getloadavg
call from just HAVE_GETLOADAVG to HAVE_GETLOADAVG || C_GETLOADAVG.
From Kaveh R. Ghazi.
Diffstat (limited to 'src/who-users.c')
-rw-r--r-- | src/who-users.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/who-users.c b/src/who-users.c index cdb53e6e2..90ae36b8e 100644 --- a/src/who-users.c +++ b/src/who-users.c @@ -214,7 +214,7 @@ print_uptime (int n) printf (" %2d:%02d, %d %s", uphours, upmins, entries, (entries == 1) ? _("user") : _("users")); -#ifdef HAVE_GETLOADAVG +#if defined (HAVE_GETLOADAVG) || defined (C_GETLOADAVG) loads = getloadavg (avg, 3); #else loads = -1; |