aboutsummaryrefslogtreecommitdiffstats
path: root/libexec_getenv_last.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec_getenv_last.c')
-rw-r--r--libexec_getenv_last.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec_getenv_last.c b/libexec_getenv_last.c
index 1de318e..f19465a 100644
--- a/libexec_getenv_last.c
+++ b/libexec_getenv_last.c
@@ -38,7 +38,7 @@ main(void)
struct libexec_command cmd, ref;
char **env;
- libexec_init_command(&cmd);
+ cmd = LIBEXEC_COMMAND_INIT;
memcpy(&ref, &cmd, sizeof(cmd));
env = environ;