]> git.wh0rd.org - dump.git/blobdiff - compat/lib/fstab.c
Andreas Dilger fixes (CPP, ext2 features, const char etc).
[dump.git] / compat / lib / fstab.c
index aa23462999d56a7836e9c999de84f22e9814834e..9f11a65d7bf3ee058a018a713c4c0e57a00d4f4b 100644 (file)
@@ -41,7 +41,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: fstab.c,v 1.10 2000/12/21 11:14:53 stelian Exp $";
+       "$Id: fstab.c,v 1.11 2001/03/19 13:22:48 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
@@ -70,9 +70,9 @@ int fstabscan(void)
        int typexx;
 #define        MAXLINELENGTH   1024
        char subline[MAXLINELENGTH];
-       char *device_name;
 
        for (;;) {
+               const char *device_name;
                if (!(mnt = getmntent(_fs_fp)))
                        return 0;