diff options
Diffstat (limited to 'sbin/fsdb')
| -rw-r--r-- | sbin/fsdb/fsdb.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c index 423a160bf424f..86a02cf25cad3 100644 --- a/sbin/fsdb/fsdb.c +++ b/sbin/fsdb/fsdb.c @@ -30,7 +30,7 @@  #ifndef lint  static const char rcsid[] = -	"$Id: fsdb.c,v 1.10 1998/06/15 07:12:19 charnier Exp $"; +	"$Id$";  #endif /* not lint */  #include <sys/types.h> @@ -617,7 +617,7 @@ CMDFUNCSTART(newtype)  	return 1;      type = curinode->di_mode & IFMT;      for (tp = typenamemap; -	 tp < &typenamemap[sizeof(typenamemap)/sizeof(*typenamemap)]; +	 tp < &typenamemap[sizeof(typemap)/sizeof(*typemap)];  	 tp++) {  	if (!strcmp(argv[1], tp->typename)) {  	    printf("setting type to %s\n", tp->typename); @@ -625,7 +625,7 @@ CMDFUNCSTART(newtype)  	    break;  	}      } -    if (tp == &typenamemap[sizeof(typenamemap)/sizeof(*typenamemap)]) { +    if (tp == &typenamemap[sizeof(typemap)/sizeof(*typemap)]) {  	warnx("type `%s' not known", argv[1]);  	warnx("try one of `file', `dir', `socket', `fifo'");  	return 1; | 
