summaryrefslogtreecommitdiff
path: root/src/cryptsetup-generator.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-13 22:22:10 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-16 02:03:34 +0200
commit5010903819a6918c04e6cffa0edea6865cf3d5ef (patch)
treeb7c67a063897a0882caeb2898d846261e9462008 /src/cryptsetup-generator.c
parentd718bbb51bd811212c149f5ac3e9233907ebb36e (diff)
cryptsetup: add trailing \n
Diffstat (limited to 'src/cryptsetup-generator.c')
-rw-r--r--src/cryptsetup-generator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptsetup-generator.c b/src/cryptsetup-generator.c
index 00f48009ed..9b62e6a6d3 100644
--- a/src/cryptsetup-generator.c
+++ b/src/cryptsetup-generator.c
@@ -122,12 +122,12 @@ static int create_disk(
if (options && has_option(options, "tmp"))
fprintf(f,
- "ExecStartPost=/sbin/mke2fs '/dev/mapper/%s'",
+ "ExecStartPost=/sbin/mke2fs '/dev/mapper/%s'\n",
name);
if (options && has_option(options, "swap"))
fprintf(f,
- "ExecStartPost=/sbin/mkswap '/dev/mapper/%s'",
+ "ExecStartPost=/sbin/mkswap '/dev/mapper/%s'\n",
name);
fflush(f);