diff options
Diffstat (limited to 'src/fstab-generator/fstab-generator.c')
-rw-r--r-- | src/fstab-generator/fstab-generator.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c index c38a5aa257..2677a3fb32 100644 --- a/src/fstab-generator/fstab-generator.c +++ b/src/fstab-generator/fstab-generator.c @@ -240,7 +240,10 @@ static int write_dependency(FILE *f, const char *opts, res = strv_join(units, " "); if (!res) return log_oom(); +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wformat-nonliteral" fprintf(f, format, res); +#pragma GCC diagnostic pop } return 0; |