graph: fix missing else
authorJens Axboe <axboe@kernel.dk>
Thu, 22 Mar 2012 08:33:33 +0000 (09:33 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 22 Mar 2012 08:33:33 +0000 (09:33 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
graph.c

diff --git a/graph.c b/graph.c
index 1f3344f..146ed7b 100644 (file)
--- a/graph.c
+++ b/graph.c
@@ -800,7 +800,7 @@ static void graph_label_add_value(struct graph_label *i, void *value,
 
                        alias = container_of(ret, struct graph_value, node);
                        flist_add_tail(&x->alias, &alias->alias);
-               }
+               } else
                        x->flags = GV_F_ON_PRIO;
        }