@@ -327,7 +327,7 @@ main(int argc, char **argv)
for (; optind < argc; optind++) {
argname = argv[optind];
- if (lstat64(argname, &sb) < 0) {
+ if (lstat(argname, &sb) < 0) {
fprintf(stderr,
_("%s: could not stat: %s: %s\n"),
progname, argname, strerror(errno));
@@ -510,7 +510,7 @@ fsrallfs(char *mtab, int howlong, char *leftofffile)
fs = fsbase;
/* where'd we leave off last time? */
- if (lstat64(leftofffile, &sb) == 0) {
+ if (lstat(leftofffile, &sb) == 0) {
if ( (fd = open(leftofffile, O_RDONLY)) == -1 ) {
fsrprintf(_("%s: open failed\n"), leftofffile);
}
@@ -222,7 +222,6 @@ static inline int timer_gettime (timer_t timerid, struct itimerspec *value)
#include <sys/ucred.h>
#include <errno.h>
#define statvfs64 statfs
-#define lstat64 lstat
#define _PATH_MOUNTED "/etc/mtab"
struct mntent
Signed-off-by: Felix Janda <felix.janda@posteo.de> --- fsr/xfs_fsr.c | 4 ++-- include/darwin.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-)