#ifndef lint
static const char rcsid[] =
- "$Id: main.c,v 1.75 2002/09/02 12:43:12 stelian Exp $";
+ "$Id: main.c,v 1.77 2002/11/15 09:49:40 stelian Exp $";
#endif /* not lint */
#include <config.h>
exit(X_STARTUP);
}
if (reason)
- msg("Added inode %u to exclude list (%s)\n",
+ msg("Excluding inode %u (%s) from dump\n",
ino, reason);
else
- msg("Added inode %u to exclude list\n", ino);
+ msg("Excluding inode %u from dump\n", ino);
iexclude_list[iexclude_num++] = ino;
}
}
unsigned long inod;
inod = strtoul(ino, &r, 10);
- if (*r != '\0' || inod <= ROOTINO) {
+ if (( *r != '\0' && !isspace(*r) ) || inod <= ROOTINO) {
msg("Invalid inode argument %s\n", ino);
msg("The ENTIRE dump is aborted.\n");
exit(X_STARTUP);