summaryrefslogtreecommitdiff
path: root/src/chown.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-13 12:48:33 +0000
committerJim Meyering <jim@meyering.net>1995-05-13 12:48:33 +0000
commit99ce9e9832afce3278226874af6a2a961d52fbbe (patch)
treef46ec12c1a198bfd1e0e978611df93e928fa3c2e /src/chown.c
parent466ecc5db8326937b43a3c86d4554060d79d3c2c (diff)
downloadcoreutils-99ce9e9832afce3278226874af6a2a961d52fbbe.tar.xz
Use stat (lstat), not safe_stat (safe_lstat).
Diffstat (limited to 'src/chown.c')
-rw-r--r--src/chown.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/chown.c b/src/chown.c
index 1a04a0b7d..3fc930488 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -37,7 +37,6 @@
#include "system.h"
#include "version.h"
-#include "safe-lstat.h"
#include "error.h"
#ifndef _POSIX_VERSION
@@ -186,7 +185,7 @@ change_file_owner (file, user, group)
gid_t newgroup;
int errors = 0;
- if (safe_lstat (file, &file_stats))
+ if (lstat (file, &file_stats))
{
if (force_silent == 0)
error (0, errno, "%s", file);