diff options
Diffstat (limited to 'pseudo_util.c')
-rw-r--r-- | pseudo_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudo_util.c b/pseudo_util.c index 325cabf..e4e1fc8 100644 --- a/pseudo_util.c +++ b/pseudo_util.c @@ -98,7 +98,7 @@ dump_env(char **envp) { int pseudo_has_unload(char * const *envp) { static const char unload[] = "PSEUDO_UNLOAD"; - static size_t unload_len = strlen(unload); + static size_t unload_len = sizeof(unload) - 1; size_t i = 0; /* Is it in the caller environment? */ |