summaryrefslogtreecommitdiffstats
path: root/libblkid/src/devname.c
diff options
context:
space:
mode:
Diffstat (limited to 'libblkid/src/devname.c')
-rw-r--r--libblkid/src/devname.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libblkid/src/devname.c b/libblkid/src/devname.c
index fdbb5c99a..dbbe5b54d 100644
--- a/libblkid/src/devname.c
+++ b/libblkid/src/devname.c
@@ -39,7 +39,6 @@
#include "canonicalize.h" /* $(top_srcdir)/include */
#include "pathnames.h"
#include "sysfs.h"
-#include "at.h"
/*
* Find a dev struct in the cache by device name, if available.
@@ -397,7 +396,7 @@ ubi_probe_all(blkid_cache cache, int only_if_new)
continue;
if (!strcmp(name, "ubi_ctrl"))
continue;
- if (fstat_at(dirfd(dir), *dirname, name, &st, 0))
+ if (fstatat(dirfd(dir), name, &st, 0))
continue;
dev = st.st_rdev;