summaryrefslogtreecommitdiff
path: root/src/chgrp.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/chgrp.c
parent466ecc5db8326937b43a3c86d4554060d79d3c2c (diff)
downloadcoreutils-99ce9e9832afce3278226874af6a2a961d52fbbe.tar.xz
Use stat (lstat), not safe_stat (safe_lstat).
Diffstat (limited to 'src/chgrp.c')
-rw-r--r--src/chgrp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/chgrp.c b/src/chgrp.c
index 62bdd729a..8c77bd360 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -25,7 +25,6 @@
#include "system.h"
#include "version.h"
-#include "safe-lstat.h"
#include "error.h"
#ifndef _POSIX_VERSION
@@ -181,7 +180,7 @@ change_file_group (file, group)
struct stat file_stats;
int errors = 0;
- if (safe_lstat (file, &file_stats))
+ if (lstat (file, &file_stats))
{
if (force_silent == 0)
error (0, errno, "%s", file);