diff options
Diffstat (limited to 'libexec_clear_environ.c')
-rw-r--r-- | libexec_clear_environ.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec_clear_environ.c b/libexec_clear_environ.c index 9f09561..df0c7ce 100644 --- a/libexec_clear_environ.c +++ b/libexec_clear_environ.c @@ -38,7 +38,7 @@ check_clear_from_default(void) struct libexec_command cmd, ref; char **old_env; - libexec_init_command(&cmd); + cmd = LIBEXEC_COMMAND_INIT; memcpy(&ref, &cmd, sizeof(cmd)); ASSERT_IS_NULL(cmd.environ); |