aboutsummaryrefslogtreecommitdiffstats
path: root/unsetenv.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-12-10 21:18:06 +0100
committerMattias Andrée <maandree@kth.se>2021-12-10 21:18:06 +0100
commit277aa8ef6b6e811cca5e1b5ed0f308eaf680f355 (patch)
treefdd6d0dd0041cade63e62804d9de876d7e1d5f38 /unsetenv.c
parentAdd function attributes (diff)
downloadliberror-libc-277aa8ef6b6e811cca5e1b5ed0f308eaf680f355.tar.gz
liberror-libc-277aa8ef6b6e811cca5e1b5ed0f308eaf680f355.tar.bz2
liberror-libc-277aa8ef6b6e811cca5e1b5ed0f308eaf680f355.tar.xz
Fix unsetenv
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--unsetenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsetenv.c b/unsetenv.c
index 82eebcb..4f363a2 100644
--- a/unsetenv.c
+++ b/unsetenv.c
@@ -12,7 +12,7 @@ liberror_unsetenv_failed(const char *name)
desc = "Environment variable name is the empty string";
else if (errno == EINVAL)
desc = "Environment variable name contains the '=' character";
- liberror_set_error_errno(desc, "setenv", errno);
+ liberror_set_error_errno(desc, "unsetenv", errno);
}