Fix a stupid typo -- bug found by Larry Doolittle.

This commit is contained in:
Eric Andersen 2001-01-30 19:23:46 +00:00
parent 8526067336
commit 30f64c3aa2
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ enum {
#include <signal.h>
#include <sys/ioctl.h>
#ifndef NAJOR
#ifndef MAJOR
#define MAJOR(dev) (((dev)>>8)&0xff)
#define MINOR(dev) ((dev)&0xff)
#endif

2
ls.c
View File

@ -68,7 +68,7 @@ enum {
#include <signal.h>
#include <sys/ioctl.h>
#ifndef NAJOR
#ifndef MAJOR
#define MAJOR(dev) (((dev)>>8)&0xff)
#define MINOR(dev) ((dev)&0xff)
#endif