aboutsummaryrefslogtreecommitdiffstats
path: root/src/script.c
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2018-03-30 11:39:33 -0400
committerClyne Sullivan <clyne@bitgloo.com>2018-03-30 11:39:33 -0400
commit769b3dbcea116b83f913a6aae00b4e43633be82c (patch)
treec9590a05c17cb7ca115c4e1053e4366edecff7a7 /src/script.c
parent234beaee5de14a601af3eef97f291cddfe5d1b80 (diff)
new initrd format, 2nd layer for keypad
Diffstat (limited to 'src/script.c')
-rw-r--r--src/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.c b/src/script.c
index 733bc4a..95d62c0 100644
--- a/src/script.c
+++ b/src/script.c
@@ -107,7 +107,7 @@ int script_filemenu(instance *it)
char *fname;
strncpy(listbuf, " : \0", 4);
dsp_puts("Choose a file: \n");
- for (unsigned int i = 0; (fname = initrd_getnfile(i)) != 0; i++) {
+ for (unsigned int i = 0; (fname = initrd_getfile(i)) != 0; i++) {
listbuf[0] = i + '0';
dsp_puts(listbuf);
dsp_puts(strncpy(buf, fname, 16));