summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-12 04:56:40 -0400
committerSteve Dickson <steved@redhat.com>2014-09-15 13:56:57 -0400
commite54516fc2b7d15216e940bdf25ce6101117455e0 (patch)
tree1d2201a1e369e270504b34c01b9a9e88e6279959
parent69046e28fcdf42ecbbe777f080fff9656e242ed4 (diff)
downloadnfs-utils-e54516fc2b7d15216e940bdf25ce6101117455e0.tar.gz
nfs-utils-e54516fc2b7d15216e940bdf25ce6101117455e0.tar.xz
nfs-utils-e54516fc2b7d15216e940bdf25ce6101117455e0.zip
mountd: use standard dev_t instead of glibc internals
The __dev_t is a GNU libc internal. Use the standard dev_t instead, which is specified in POSIX. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/mountd/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c
index b0cc6a8..663a52a 100644
--- a/utils/mountd/cache.c
+++ b/utils/mountd/cache.c
@@ -1419,7 +1419,7 @@ static int cache_export_ent(char *domain, struct exportent *exp, char *path)
*/
struct stat stb;
size_t l = strlen(exp->e_path);
- __dev_t dev;
+ dev_t dev;
if (strlen(path) <= l || path[l] != '/' ||
strncmp(exp->e_path, path, l) != 0)