X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=compat%2Flib%2Ffstab.c;h=0b51de5040e87bf98bdb51e3b00018fd34107ca7;hp=0cd2250c4023bb0090f421f05bdf59846be5f04b;hb=b45f51d61e911ac8a040bef1efda6afd82261e03;hpb=1227625a12a66e0ded78a1997c2d23f23202a382 diff --git a/compat/lib/fstab.c b/compat/lib/fstab.c index 0cd2250..0b51de5 100644 --- a/compat/lib/fstab.c +++ b/compat/lib/fstab.c @@ -1,7 +1,8 @@ /* * Ported to Linux's Second Extended File System as part of the * dump and restore backup suit - * Remy Card , 1994, 1995, 1996 + * Remy Card , 1994-1997 + * Stelian Pop , 1999 * */ @@ -112,7 +113,7 @@ int fstabscan() struct fstab * getfsent() { - if (!_fs_fp && !setfsent() || !fstabscan()) + if ((!_fs_fp && !setfsent()) || !fstabscan()) return((struct fstab *)NULL); return(&_fs_fstab); }