summaryrefslogtreecommitdiffstats
path: root/src/utils/lib/env.c
diff options
context:
space:
mode:
authorManuel Bentele2020-12-02 13:08:58 +0100
committerManuel Bentele2020-12-02 13:08:58 +0100
commit9fc030ed9bffec9f9715595dd5a205a353912d3c (patch)
tree8137142e94abf7cd4eefd3b591c487d034b57e50 /src/utils/lib/env.c
parentSetup xloop device with XLOOP_CONFIGURE ioctl call (diff)
downloadxloop-9fc030ed9bffec9f9715595dd5a205a353912d3c.tar.gz
xloop-9fc030ed9bffec9f9715595dd5a205a353912d3c.tar.xz
xloop-9fc030ed9bffec9f9715595dd5a205a353912d3c.zip
Update xlosetup's 'lib' and 'libsmartcol' from util-linux 2.36.1
Diffstat (limited to 'src/utils/lib/env.c')
-rw-r--r--src/utils/lib/env.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/utils/lib/env.c b/src/utils/lib/env.c
index c26a5be..ac481ee 100644
--- a/src/utils/lib/env.c
+++ b/src/utils/lib/env.c
@@ -1,10 +1,9 @@
/*
- * Security checks of environment
- * Added from shadow-utils package
- * by Arkadiusz Miƛkiewicz <misiek@pld.ORG.PL>
+ * environ[] array cleanup code and getenv() wrappers
*
+ * No copyright is claimed. This code is in the public domain; do with
+ * it what you wish.
*/
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -57,7 +56,7 @@ struct ul_env_list {
};
/*
- * Saves @name env.varable to @ls, returns pointer to the new head of the list.
+ * Saves @name env.variable to @ls, returns pointer to the new head of the list.
*/
static struct ul_env_list *env_list_add(struct ul_env_list *ls0, const char *str)
{