aboutsummaryrefslogtreecommitdiffstats
path: root/misc/tune2fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tune2fs.c')
-rw-r--r--misc/tune2fs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/tune2fs.c b/misc/tune2fs.c
index 09e65baf..dcaafc1c 100644
--- a/misc/tune2fs.c
+++ b/misc/tune2fs.c
@@ -72,7 +72,11 @@ extern int optind;
extern int ask_yn(const char *string, int def);
+#ifndef BUILD_AS_LIB
const char *program_name = "tune2fs";
+#else
+extern const char *program_name;
+#endif
char *device_name;
char *new_label, *new_last_mounted, *new_UUID;
char *io_options;