From ea76e761048fcc61ab26cdda31fa0c975446e1fa Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 11 Jun 2004 05:02:59 +0000 Subject: [PATCH] In set_filesystem(), call do_stat(), not link_stat() to ensure that we get the directory behind it all. --- flist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flist.c b/flist.c index 0bb14449..9fafd92d 100644 --- a/flist.c +++ b/flist.c @@ -250,7 +250,7 @@ static dev_t filesystem_dev; static void set_filesystem(char *fname) { STRUCT_STAT st; - if (link_stat(fname, &st) != 0) + if (do_stat(fname, &st) != 0) return; filesystem_dev = st.st_dev; } -- 2.34.1