summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-08-13 17:48:42 +0200
committerLennart Poettering <lennart@poettering.net>2013-08-13 17:48:42 +0200
commitee530d8b73246f29781bd54a707ca75c7ef5a6cb (patch)
treeb292bc3838196010ae5dbc1c3f003adcfb134996
parent38563c1947e34b71bf5557f2cd22fb7806c60077 (diff)
gpt-auto-generator: fix swap unit generation
-rw-r--r--src/gpt-auto-generator/gpt-auto-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c
index 60fb19ee07..81d692c513 100644
--- a/src/gpt-auto-generator/gpt-auto-generator.c
+++ b/src/gpt-auto-generator/gpt-auto-generator.c
@@ -175,7 +175,7 @@ static int add_swap(const char *path, const char *fstype) {
"DefaultDependencies=no\n"
"Conflicts=" SPECIAL_UMOUNT_TARGET "\n"
"Before=" SPECIAL_UMOUNT_TARGET " " SPECIAL_SWAP_TARGET "\n\n"
- "[Mount]\n"
+ "[Swap]\n"
"What=%s\n",
path);