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