aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/catv.c2
-rw-r--r--toys/df.c2
-rw-r--r--toys/pwd.c2
-rw-r--r--toys/toysh.c2
-rw-r--r--toys/which.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/toys/catv.c b/toys/catv.c
index 9097c065..ee23061d 100644
--- a/toys/catv.c
+++ b/toys/catv.c
@@ -53,7 +53,7 @@ int catv_main(void)
putchar(c);
}
}
- if (CFG_TOYS_FREE && fd) close(fd);
+ if (CFG_TOYBOX_FREE && fd) close(fd);
} while (*++argv);
return retval;
diff --git a/toys/df.c b/toys/df.c
index 3e8a9725..52a6c1df 100644
--- a/toys/df.c
+++ b/toys/df.c
@@ -113,7 +113,7 @@ int df_main(void)
}
}
- if (CFG_TOYS_FREE) llist_free(mtlist, NULL);
+ if (CFG_TOYBOX_FREE) llist_free(mtlist, NULL);
return 0;
}
diff --git a/toys/pwd.c b/toys/pwd.c
index 59d7223d..a6fdd441 100644
--- a/toys/pwd.c
+++ b/toys/pwd.c
@@ -10,7 +10,7 @@ int pwd_main(void)
char *pwd = xgetcwd();
xprintf("%s\n", pwd);
- if (CFG_TOYS_FREE) free(pwd);
+ if (CFG_TOYBOX_FREE) free(pwd);
return 0;
}
diff --git a/toys/toysh.c b/toys/toysh.c
index 074907ef..c383b89a 100644
--- a/toys/toysh.c
+++ b/toys/toysh.c
@@ -212,7 +212,7 @@ int toysh_main(void)
if (1 > getline(&command, &cmdlen, f ? : stdin)) break;
handle(command);
}
- if (CFG_TOYS_FREE) free(command);
+ if (CFG_TOYBOX_FREE) free(command);
}
return 1;
diff --git a/toys/which.c b/toys/which.c
index 16e19d00..df7566c0 100644
--- a/toys/which.c
+++ b/toys/which.c
@@ -61,7 +61,7 @@ int which_main(void)
int i;
for (i=0; toys.optargs[i]; i++) rc |= which_in_path(toys.optargs[i]);
}
- // if (CFG_TOYS_FREE) free(argv);
+ // if (CFG_TOYBOX_FREE) free(argv);
return rc;
}