aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}