#ifndef lint
static const char rcsid[] =
- "$Id: optr.c,v 1.26 2001/08/16 09:37:59 stelian Exp $";
+ "$Id: optr.c,v 1.28 2001/12/24 12:28:39 stelian Exp $";
#endif /* not lint */
#include <config.h>
#include <ext2fs/ext2fs.h>
#include <bsdcompat.h>
#include <signal.h>
-#include <time.h>
#endif
#include "dump.h"
for (pf = table; pf != NULL; pf = pf->pf_next) {
fs = pf->pf_fstab;
if (strlen(fs->fs_file) > size &&
- strlen(key) > strlen(fs->fs_file) + 1 &&
+ strlen(key) > strlen(fs->fs_file) &&
strncmp(fs->fs_file, key, strlen(fs->fs_file)) == 0 &&
(key[strlen(fs->fs_file)] == '/' ||
fs->fs_file[strlen(fs->fs_file) - 1] == '/')) {