summaryrefslogtreecommitdiff
path: root/src/who.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-13 02:31:46 +0000
committerJim Meyering <jim@meyering.net>1995-05-13 02:31:46 +0000
commit274e5f86b524492a30af4f7cac38ef71722baf26 (patch)
tree073e8e172149c8bd407d15b2610bd046ca876b9f /src/who.c
parent31faa61270d33d103a88108d4efc6c1b1ca5b0c6 (diff)
downloadcoreutils-274e5f86b524492a30af4f7cac38ef71722baf26.tar.xz
Use l?stat, not safe_l?stat.
Diffstat (limited to 'src/who.c')
-rw-r--r--src/who.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/who.c b/src/who.c
index dfbe18eac..659b848ac 100644
--- a/src/who.c
+++ b/src/who.c
@@ -52,7 +52,6 @@
#include "system.h"
#include "version.h"
-#include "safe-stat.h"
#include "error.h"
#if !defined (UTMP_FILE) && defined (_PATH_UTMP) /* 4.4BSD. */
@@ -217,7 +216,7 @@ print_entry (this)
line[DEV_DIR_LEN + sizeof (this->ut_line)] = '\0';
}
- if (safe_stat (line, &stats) == 0)
+ if (stat (line, &stats) == 0)
{
mesg = (stats.st_mode & S_IWGRP) ? '+' : '-';
last_change = stats.st_atime;