summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-09-15 16:31:14 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-09-15 16:31:14 +0000
commit76d7d4daafc1f772da181ff034c77e7c9055224a (patch)
tree9b69081b59ed1fa82961fe7c27a4baaf66d90341
parentc676d5e1e13c99509626ea274bcc4426e04e47bd (diff)
-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;
}