summaryrefslogtreecommitdiff
path: root/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'ls.c')
-rw-r--r--ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ls.c b/ls.c
index 2ed5fe1..a5574a5 100644
--- a/ls.c
+++ b/ls.c
@@ -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