summaryrefslogtreecommitdiff
path: root/src/who.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-12-20 04:50:25 +0000
committerJim Meyering <jim@meyering.net>1994-12-20 04:50:25 +0000
commit6d59e126b55547df036ad0cdb8b66793e88b48f2 (patch)
tree46fa112a90ef89ba43694dc6475d233e8890e0a3 /src/who.c
parentbb705c7c3e5e12dd888181ce9e2a099393c5736a (diff)
downloadcoreutils-6d59e126b55547df036ad0cdb8b66793e88b48f2.tar.gz
coreutils-6d59e126b55547df036ad0cdb8b66793e88b48f2.tar.bz2
coreutils-6d59e126b55547df036ad0cdb8b66793e88b48f2.zip
(print_entry): Use safe_stat instead of SAFE_STAT.
Diffstat (limited to 'src/who.c')
-rw-r--r--src/who.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/who.c b/src/who.c
index 7cbe51807..1d768fc79 100644
--- a/src/who.c
+++ b/src/who.c
@@ -217,7 +217,7 @@ print_entry (this)
line[DEV_DIR_LEN + sizeof (this->ut_line)] = '\0';
}
- if (SAFE_STAT (line, &stats) == 0)
+ if (safe_stat (line, &stats) == 0)
{
mesg = (stats.st_mode & S_IWGRP) ? '+' : '-';
last_change = stats.st_atime;