diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-18 14:17:49 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-18 14:17:49 +0000 |
commit | 18260d5099a8791f4af3bbf97e0c11f8755d233b (patch) | |
tree | 79224966cbe20fc78a836d04e86526f5dc9d7058 /coreutils/stat.c | |
parent | 0c013f5fc7abbc10265b26c214b33a25c65bd16f (diff) | |
download | busybox-w32-18260d5099a8791f4af3bbf97e0c11f8755d233b.tar.gz busybox-w32-18260d5099a8791f4af3bbf97e0c11f8755d233b.tar.bz2 busybox-w32-18260d5099a8791f4af3bbf97e0c11f8755d233b.zip |
- typo: s/derefernce/dereference/g
Thanks to P.J. Day.
Diffstat (limited to 'coreutils/stat.c')
-rw-r--r-- | coreutils/stat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/stat.c b/coreutils/stat.c index 166ce4824..d58eae10e 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c | |||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | /* vars to control behavior */ | 29 | /* vars to control behavior */ |
30 | #define OPT_TERSE 2 | 30 | #define OPT_TERSE 2 |
31 | #define OPT_DEREFERNCE 4 | 31 | #define OPT_DEREFERENCE 4 |
32 | static long flags; | 32 | static long flags; |
33 | 33 | ||
34 | static char const *file_type(struct stat const *st) | 34 | static char const *file_type(struct stat const *st) |
@@ -424,7 +424,7 @@ static int do_stat(char const *filename, char const *format) | |||
424 | { | 424 | { |
425 | struct stat statbuf; | 425 | struct stat statbuf; |
426 | 426 | ||
427 | if ((flags & OPT_DEREFERNCE ? stat : lstat) (filename, &statbuf) != 0) { | 427 | if ((flags & OPT_DEREFERENCE ? stat : lstat) (filename, &statbuf) != 0) { |
428 | bb_perror_msg("cannot stat '%s'", filename); | 428 | bb_perror_msg("cannot stat '%s'", filename); |
429 | return 0; | 429 | return 0; |
430 | } | 430 | } |