summaryrefslogtreecommitdiff
path: root/src/uptime.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-06-29 02:13:21 +0000
committerJim Meyering <jim@meyering.net>1998-06-29 02:13:21 +0000
commitc5eb9edf2600480b9490cccd8a66284cb46392a8 (patch)
tree4cbb8f5a9cf32ed6025e0773e3f394151d471c4e /src/uptime.c
parentdd9470cb58f9c668279aa8dab8164440b73daaad (diff)
downloadcoreutils-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.c6
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');
}
}