summaryrefslogtreecommitdiff
path: root/coreutils/stat.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-04-18 14:17:49 +0000
committerBernhard Reutner-Fischer2006-04-18 14:17:49 +0000
commit18260d5099a8791f4af3bbf97e0c11f8755d233b (patch)
tree79224966cbe20fc78a836d04e86526f5dc9d7058 /coreutils/stat.c
parent0c013f5fc7abbc10265b26c214b33a25c65bd16f (diff)
downloadbusybox-18260d5099a8791f4af3bbf97e0c11f8755d233b.zip
busybox-18260d5099a8791f4af3bbf97e0c11f8755d233b.tar.gz
- typo: s/derefernce/dereference/g
Thanks to P.J. Day.
Diffstat (limited to 'coreutils/stat.c')
-rw-r--r--coreutils/stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/stat.c b/coreutils/stat.c
index 166ce48..d58eae1 100644
--- a/coreutils/stat.c
+++ b/coreutils/stat.c
@@ -28,7 +28,7 @@
/* vars to control behavior */
#define OPT_TERSE 2
-#define OPT_DEREFERNCE 4
+#define OPT_DEREFERENCE 4
static long flags;
static char const *file_type(struct stat const *st)
@@ -424,7 +424,7 @@ static int do_stat(char const *filename, char const *format)
{
struct stat statbuf;
- if ((flags & OPT_DEREFERNCE ? stat : lstat) (filename, &statbuf) != 0) {
+ if ((flags & OPT_DEREFERENCE ? stat : lstat) (filename, &statbuf) != 0) {
bb_perror_msg("cannot stat '%s'", filename);
return 0;
}