diff options
author | Jim Meyering <jim@meyering.net> | 1998-06-29 02:13:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-06-29 02:13:21 +0000 |
commit | c5eb9edf2600480b9490cccd8a66284cb46392a8 (patch) | |
tree | 4cbb8f5a9cf32ed6025e0773e3f394151d471c4e /src/uptime.c | |
parent | dd9470cb58f9c668279aa8dab8164440b73daaad (diff) | |
download | coreutils-c5eb9edf2600480b9490cccd8a66284cb46392a8.tar.xz |
Change all uses of unlocked-wrapped functions to their upper case wrapper names.
Diffstat (limited to 'src/uptime.c')
-rw-r--r-- | src/uptime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uptime.c b/src/uptime.c index ed0c2aa3e..2bf9a761f 100644 --- a/src/uptime.c +++ b/src/uptime.c @@ -66,7 +66,7 @@ print_uptime (int n, const STRUCT_UTMP *this) res = sscanf (buf, "%lf", &upsecs); if (res == 1) uptime = (time_t) upsecs; - fclose (fp); + FCLOSE (fp); } #endif /* HAVE_PROC_UPTIME */ /* Loop through all the utmp entries we just read and count up the valid @@ -122,7 +122,7 @@ print_uptime (int n, const STRUCT_UTMP *this) #endif if (loads == -1) - putchar ('\n'); + PUTCHAR ('\n'); else { if (loads > 0) @@ -132,7 +132,7 @@ print_uptime (int n, const STRUCT_UTMP *this) if (loads > 2) printf (", %.2f", avg[2]); if (loads > 0) - putchar ('\n'); + PUTCHAR ('\n'); } } |