summaryrefslogtreecommitdiff
path: root/com32/rosh
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2010-09-30 23:11:10 -0400
committerGene Cumm <gene.cumm@gmail.com>2010-10-09 07:33:07 -0400
commitefcb7c588efcaef60bd0b87f9862b87d85d1c2a3 (patch)
treef2e9d84526aa58fd8de6ea9b40fc546b06a519c9 /com32/rosh
parent81dc3bbd5faf59405bee1398239d14b30f92cca6 (diff)
downloadsyslinux-efcb7c588efcaef60bd0b87f9862b87d85d1c2a3.tar.gz
rosh: rosh_cd fix DEBUG
Diffstat (limited to 'com32/rosh')
-rw-r--r--com32/rosh/rosh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/com32/rosh/rosh.c b/com32/rosh/rosh.c
index aac60441..9251977a 100644
--- a/com32/rosh/rosh.c
+++ b/com32/rosh/rosh.c
@@ -417,6 +417,9 @@ void rosh_cat(const char *cmdstr)
void rosh_cd(int argc, char *argv[], const char *ipwdstr)
{
int rv = 0;
+#ifdef DO_DEBUG
+ char filestr[ROSH_PATH_SZ];
+#endif /* DO_DEBUG */
ROSH_DEBUG("CMD: \n");
ROSH_DEBUG_ARGV(argc, argv);
if (argc == 2)