mount.cifs: switch to using _PATH_MNTTAB and paths.h
authorJeff Layton <jlayton@samba.org>
Wed, 7 Jul 2010 14:48:39 +0000 (10:48 -0400)
committerJeff Layton <jlayton@samba.org>
Wed, 7 Jul 2010 14:48:39 +0000 (10:48 -0400)
commit98b3723c75d295e8718f1440f91a2c678608f658
tree0dfe8ee3ce0117cba006402b1fee0dcf060b116e
parent5e1924a6f79c1b07d9bcb4977b58f94efaaa0301
mount.cifs: switch to using _PATH_MNTTAB and paths.h

The code currently uses fstab.h and _PATH_FSTAB, but uClibc apparently
doesn't have that header. It does have paths.h and _PATH_MNTTAB however
and so does glibc, so use that instead.

Fixes samba bug #7539.

Reported-and-Tested-by: Armin Kuster <linux@kama-aina.net>
Signed-off-by: Jeff Layton <jlayton@samba.org>
mount.cifs.c