diff options
author | Erik Andersen | 2000-03-24 00:54:46 +0000 |
---|---|---|
committer | Erik Andersen | 2000-03-24 00:54:46 +0000 |
commit | 1ad302ac903695ef4ba748d3880222c05eeaafef (patch) | |
tree | a03bebb080253f4a20f8d5335285a5e717106d36 /coreutils/ls.c | |
parent | e454fb68a3165ca5cf42c290b4b9dc92dbf9a235 (diff) | |
download | busybox-1ad302ac903695ef4ba748d3880222c05eeaafef.zip busybox-1ad302ac903695ef4ba748d3880222c05eeaafef.tar.gz |
The new tar for busybox is now done, and works just fine
for extracting files. Creation of tarballs is next...
-Erik
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r-- | coreutils/ls.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index c4856cb..3e01050 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -90,6 +90,11 @@ #define DISP_DIRNAME 128 /* show directory name (for internal use) */ #define DIR_RECURSE 256 /* -R (not yet implemented) */ +#ifndef MAJOR +#define MAJOR(dev) (((dev)>>8)&0xff) +#define MINOR(dev) ((dev)&0xff) +#endif + static unsigned char display_fmt = FMT_AUTO; static unsigned short opts = 0; static unsigned short column = 0; |