summaryrefslogtreecommitdiff
path: root/test/tadd-deps1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tadd-deps1.c')
-rw-r--r--test/tadd-deps1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tadd-deps1.c b/test/tadd-deps1.c
index b11c419..4310d0c 100644
--- a/test/tadd-deps1.c
+++ b/test/tadd-deps1.c
@@ -82,7 +82,7 @@ int main(int argc, char *argv[])
static void print_sk_list(const initd_list_t *list, initd_sk_t sk)
{
char *startstop;
- initd_t *ip;
+ initd_node_t *inp;
switch (sk) {
case SK_START:
@@ -98,8 +98,8 @@ static void print_sk_list(const initd_list_t *list, initd_sk_t sk)
if (list && list->first) {
printf("All deps for %s\n", startstop);
printf("Ordered:");
- for (ip = list->first; ip; ip = ip->next)
- printf(" %s", ip->name);
+ for (inp = list->first; inp; inp = inp->next)
+ printf(" %s", inp->initd->name);
printf("\n");
} else {
printf("%s list is empty\n", startstop);