diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-08-30 12:20:34 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-08-30 12:20:34 +0000 |
commit | e4887d67549570e45a384c1c6ea2968710b70527 (patch) | |
tree | fe9489267347a5fcca54651ade298fb908af3072 /src/msec_find | |
parent | 89cbae7ddfea0a55656c639da86a7f931c7a6ff1 (diff) | |
download | msec-e4887d67549570e45a384c1c6ea2968710b70527.tar msec-e4887d67549570e45a384c1c6ea2968710b70527.tar.gz msec-e4887d67549570e45a384c1c6ea2968710b70527.tar.bz2 msec-e4887d67549570e45a384c1c6ea2968710b70527.tar.xz msec-e4887d67549570e45a384c1c6ea2968710b70527.zip |
writeable => writable
Diffstat (limited to 'src/msec_find')
-rw-r--r-- | src/msec_find/find.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/msec_find/find.c b/src/msec_find/find.c index b1fb2d2..f0446d4 100644 --- a/src/msec_find/find.c +++ b/src/msec_find/find.c @@ -62,7 +62,7 @@ static FILE *suid_fd; static FILE *sgid_fd; static FILE *unowned_user_fd; static FILE *unowned_group_fd; -static FILE *writeable_fd; +static FILE *writable_fd; static int traverse(const char *file, const struct stat *sb, int flag, struct FTW *s) { @@ -105,10 +105,10 @@ static int traverse(const char *file, const struct stat *sb, int flag, struct FT */ case FTW_D: /* - * Is world writeable check. + * Is world writable check. */ if (sb->st_mode & 0002) - fprintf(writeable_fd, "%s\n", file); + fprintf(writable_fd, "%s\n", file); /* * Unowned user check. @@ -145,9 +145,9 @@ __inline__ static void init() exit(1); } - writeable_fd = fopen(getenv("WRITEABLE_TODAY"), mode); - if ( ! writeable_fd ) { - perror("fopen (writeable_today)"); + writable_fd = fopen(getenv("WRITABLE_TODAY"), mode); + if ( ! writable_fd ) { + perror("fopen (writable_today)"); exit(1); } @@ -213,7 +213,7 @@ int main(int argc, char **argv) fclose(suid_fd); fclose(sgid_fd); - fclose(writeable_fd); + fclose(writable_fd); fclose(unowned_user_fd); fclose(unowned_group_fd); |