summaryrefslogtreecommitdiffstats
path: root/libmount/samples/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/samples/mount.c')
-rw-r--r--libmount/samples/mount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmount/samples/mount.c b/libmount/samples/mount.c
index c65ec925b..6f5dbda99 100644
--- a/libmount/samples/mount.c
+++ b/libmount/samples/mount.c
@@ -31,6 +31,7 @@
#include "nls.h"
#include "c.h"
+#include "env.h"
/*** TODO: DOCS:
*
@@ -305,6 +306,7 @@ int main(int argc, char **argv)
{ NULL, 0, 0, 0 }
};
+ sanitize_env();
setlocale(LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);