X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=compat%2Flib%2Ffstab.c;h=de95455debc40b916a6f25112eda8ddf1e369cb1;hp=aa23462999d56a7836e9c999de84f22e9814834e;hb=5d2a3d246d400d45dfd4c49ddb588c69fb60873d;hpb=d6967896bc4e18f9b4359a2ef5be5c0f1bcc456a diff --git a/compat/lib/fstab.c b/compat/lib/fstab.c index aa23462..de95455 100644 --- a/compat/lib/fstab.c +++ b/compat/lib/fstab.c @@ -2,8 +2,8 @@ * Ported to Linux's Second Extended File System as part of the * dump and restore backup suit * Remy Card , 1994-1997 - * Stelian Pop , 1999-2000 - * Stelian Pop - Alcôve , 2000 + * Stelian Pop , 1999-2000 + * Stelian Pop - Alcôve , 2000-2002 */ /* @@ -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.13 2002/01/25 15:08:59 stelian Exp $"; #endif /* not lint */ #include @@ -66,13 +66,13 @@ static int fstabscan(void) { struct mntent *mnt; - register char *cp; + char *cp; int typexx; #define MAXLINELENGTH 1024 char subline[MAXLINELENGTH]; - char *device_name; for (;;) { + const char *device_name; if (!(mnt = getmntent(_fs_fp))) return 0;