aboutsummaryrefslogtreecommitdiff
path: root/coreutils/stat.c
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-04-18 14:17:49 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-04-18 14:17:49 +0000
commite99562416a0bec40704aeaf979bfdc99773aa402 (patch)
tree79224966cbe20fc78a836d04e86526f5dc9d7058 /coreutils/stat.c
parentee027d79e06afd16b41cf23912d33f9a076dfa8c (diff)
downloadbusybox-w32-e99562416a0bec40704aeaf979bfdc99773aa402.tar.gz
busybox-w32-e99562416a0bec40704aeaf979bfdc99773aa402.tar.bz2
busybox-w32-e99562416a0bec40704aeaf979bfdc99773aa402.zip
- typo: s/derefernce/dereference/g
Thanks to P.J. Day. git-svn-id: svn://busybox.net/trunk/busybox@14914 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 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
32static long flags; 32static long flags;
33 33
34static char const *file_type(struct stat const *st) 34static 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 }