diff options
author | Karel Zak | 2011-11-29 17:36:39 +0100 |
---|---|---|
committer | Karel Zak | 2011-11-29 17:36:39 +0100 |
commit | 6189ace369dc9eaa8e8129c8bcfb62b337a224f1 (patch) | |
tree | 8f33981f306ec7cd53482dcdc209aa41be9b7279 /libmount/samples/mount.c | |
parent | libmount: remove magic constatnt from mount(8) (diff) | |
download | kernel-qcow2-util-linux-6189ace369dc9eaa8e8129c8bcfb62b337a224f1.tar.gz kernel-qcow2-util-linux-6189ace369dc9eaa8e8129c8bcfb62b337a224f1.tar.xz kernel-qcow2-util-linux-6189ace369dc9eaa8e8129c8bcfb62b337a224f1.zip |
libmount: add sanitize_env() to mount(8) sample
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/samples/mount.c')
-rw-r--r-- | libmount/samples/mount.c | 2 |
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); |