diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-20 15:44:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-20 15:44:12 +0100 |
commit | 16bd1e98dd2982a8dcfd174ce6ca2ea6042ad139 (patch) | |
tree | 114de8e27936d869994725fb7dfaf8c143a8a494 | |
parent | a9cb7caba6a58ac72d9d8754fee546b881d6ce57 (diff) | |
parent | bc9d55c8655870662593ccb5f2c2b042d6940762 (diff) |
Merge pull request #2385 from zonque/bootctl
bootctl: use DRAW_TREE_RIGHT rather than hard-coded UTF-8 character
-rw-r--r-- | src/boot/bootctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 4cf42d17f3..77eea6aada 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -270,9 +270,9 @@ static int enumerate_binaries(const char *esp_path, const char *path, const char if (r < 0) return r; if (r > 0) - printf(" File: └─/%s/%s (%s)\n", path, de->d_name, v); + printf(" File: %s/%s/%s (%s)\n", draw_special_char(DRAW_TREE_RIGHT), path, de->d_name, v); else - printf(" File: └─/%s/%s\n", path, de->d_name); + printf(" File: %s/%s/%s\n", draw_special_char(DRAW_TREE_RIGHT), path, de->d_name); c++; } @@ -324,7 +324,7 @@ static int print_efi_option(uint16_t id, bool in_order) { printf(" ID: 0x%04X\n", id); printf(" Status: %sactive%s\n", active ? "" : "in", in_order ? ", boot-order" : ""); printf(" Partition: /dev/disk/by-partuuid/%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x\n", SD_ID128_FORMAT_VAL(partition)); - printf(" File: └─%s\n", path); + printf(" File: %s%s\n", draw_special_char(DRAW_TREE_RIGHT), path); printf("\n"); return 0; |