cryptsetup: add trailing \n

This commit is contained in:
Lennart Poettering 2011-04-13 22:22:10 +02:00
parent d718bbb51b
commit 5010903819

View File

@ -122,12 +122,12 @@ static int create_disk(
if (options && has_option(options, "tmp")) if (options && has_option(options, "tmp"))
fprintf(f, fprintf(f,
"ExecStartPost=/sbin/mke2fs '/dev/mapper/%s'", "ExecStartPost=/sbin/mke2fs '/dev/mapper/%s'\n",
name); name);
if (options && has_option(options, "swap")) if (options && has_option(options, "swap"))
fprintf(f, fprintf(f,
"ExecStartPost=/sbin/mkswap '/dev/mapper/%s'", "ExecStartPost=/sbin/mkswap '/dev/mapper/%s'\n",
name); name);
fflush(f); fflush(f);