chiark / gitweb /
gpt-auto-generation: set a pretty description string
authorLennart Poettering <lennart@poettering.net>
Thu, 6 Mar 2014 03:52:13 +0000 (04:52 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 6 Mar 2014 04:04:51 +0000 (05:04 +0100)
src/gpt-auto-generator/gpt-auto-generator.c

index 4f5224f..c4109f3 100644 (file)
@@ -144,6 +144,8 @@ static int add_swap(const char *path, const char *fstype) {
 
         fprintf(f,
                 "# Automatically generated by systemd-gpt-auto-generator\n\n"
+                "[Unit]\n"
+                "Description=Swap Partition\n\n"
                 "[Swap]\n"
                 "What=%s\n",
                 path);