diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 22:16:14 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 22:16:14 -0700 |
commit | 4d4bb9caaff23db5ece0ece344ee3b719c486c20 (patch) | |
tree | c764bffd84f65dda5ff0d04b7e211813f5cc7918 /tests/env/src.c | |
parent | a9415e3e3a731267142c9dc5fc88b098bbfd0ad4 (diff) |
fix env test
Diffstat (limited to 'tests/env/src.c')
-rw-r--r-- | tests/env/src.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/env/src.c b/tests/env/src.c index 46419495..7544966f 100644 --- a/tests/env/src.c +++ b/tests/env/src.c @@ -4,7 +4,7 @@ int main() { printf("List:\n"); - for (char** str = __environ; *str; str++) { + for (char** str = environ; *str; str++) { printf("%s\n", *str); } printf("\n"); |