summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2001-01-30 19:23:46 +0000
committerEric Andersen2001-01-30 19:23:46 +0000
commit30f64c3aa2696026f9c21e555c79f1dea7c55c76 (patch)
tree8140b13e9850f9253de3932266e34ddd6d04a0db
parent85260673367011a08c262891bb40cb65418fa720 (diff)
downloadbusybox-30f64c3aa2696026f9c21e555c79f1dea7c55c76.zip
busybox-30f64c3aa2696026f9c21e555c79f1dea7c55c76.tar.gz
Fix a stupid typo -- bug found by Larry Doolittle.
-rw-r--r--coreutils/ls.c2
-rw-r--r--ls.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 2ed5fe1..a5574a5 100644
--- a/coreutils/ls.c
+++ b/coreutils/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
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