summaryrefslogtreecommitdiffstats
path: root/lib/ext2fs/progress.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/ext2fs/progress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext2fs/progress.c b/lib/ext2fs/progress.c
index fe4292f..61ab3f0 100644
--- a/lib/ext2fs/progress.c
+++ b/lib/ext2fs/progress.c
@@ -53,7 +53,7 @@ void ext2fs_numeric_progress_init(ext2_filsys fs,
backspaces[sizeof(backspaces)-1] = 0;
memset(progress, 0, sizeof(*progress));
- if (getenv("E2FSPROGS_SKIP_PROGRESS"))
+ if (ext2fs_safe_getenv("E2FSPROGS_SKIP_PROGRESS"))
progress->skip_progress++;