chiark / gitweb /
use new name DRAW_TREE_VERTICAL
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 23 Apr 2014 17:22:39 +0000 (19:22 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 23 Apr 2014 17:22:39 +0000 (19:22 +0200)
Was renamed in 6b01f1d3911bd7c7eadbb8a3b4375bd3ac05c98f

src/login/sysfs-show.c

index 939bd6125e21f23a1d6598d0bc7d990daed78426..9bd9152bed3cef9406bc9ef31060fc2fe781f10a 100644 (file)
@@ -121,13 +121,13 @@ static int show_sysfs_one(
                 if (!k)
                         return -ENOMEM;
 
                 if (!k)
                         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;
                 if (*item) {
                         _cleanup_free_ char *p = NULL;
 
 
                 *item = next;
                 if (*item) {
                         _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)
                                 return -ENOMEM;
 
                         if (!p)
                                 return -ENOMEM;