1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-29 21:55:25 +03:00

gpt-auto-generation: set a pretty description string

This commit is contained in:
Lennart Poettering 2014-03-06 04:52:13 +01:00
parent 9533ad1f42
commit 1ebab691c7

View 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);