1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00

use new name DRAW_TREE_VERTICAL

Was renamed in 6b01f1d391
This commit is contained in:
Thomas Hindoe Paaboel Andersen 2014-04-23 19:22:39 +02:00
parent 6b01f1d391
commit 7c83910bb9

View File

@ -121,13 +121,13 @@ static int show_sysfs_one(
if (!k) if (!k)
return -ENOMEM; return -ENOMEM;
printf("%s%s%s\n", prefix, lookahead ? draw_special_char(DRAW_TREE_VERT) : " ", k); printf("%s%s%s\n", prefix, lookahead ? draw_special_char(DRAW_TREE_VERTICAL) : " ", k);
*item = next; *item = next;
if (*item) { if (*item) {
_cleanup_free_ char *p = NULL; _cleanup_free_ char *p = NULL;
p = strappend(prefix, lookahead ? draw_special_char(DRAW_TREE_VERT) : " "); p = strappend(prefix, lookahead ? draw_special_char(DRAW_TREE_VERTICAL) : " ");
if (!p) if (!p)
return -ENOMEM; return -ENOMEM;