summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lndir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lndir.c b/lndir.c
index 2caa02b..3ce6a92 100644
--- a/lndir.c
+++ b/lndir.c
@@ -194,7 +194,7 @@ dodir (char *fn, /* name of "from" directory, either absolute or
strcpy (p, dp->d_name);
if (n_dirs > 0) {
- if (stat (buf, &sb) < 0) {
+ if (lstat (buf, &sb) < 0) {
mperror (buf);
continue;
}