summaryrefslogtreecommitdiff
path: root/test/tinstall.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tinstall.c')
-rw-r--r--test/tinstall.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tinstall.c b/test/tinstall.c
index 8fd26fa..ad1468d 100644
--- a/test/tinstall.c
+++ b/test/tinstall.c
@@ -50,7 +50,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:
@@ -66,8 +66,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);