summaryrefslogtreecommitdiff
path: root/libmount/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src/utils.c')
-rw-r--r--libmount/src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/utils.c b/libmount/src/utils.c
index 8e6b147b..d473bc49 100644
--- a/libmount/src/utils.c
+++ b/libmount/src/utils.c
@@ -926,7 +926,7 @@ char *mnt_get_kernel_cmdline_option(const char *name)
return NULL;
#ifdef TEST_PROGRAM
- path = safe_getenv("LIBMOUNT_KERNEL_CMDLINE");
+ path = getenv("LIBMOUNT_KERNEL_CMDLINE");
if (!path)
path = _PATH_PROC_CMDLINE;
#endif