[syslinux:master] rosh: rosh_cd fix DEBUG

syslinux-bot for Gene Cumm gene.cumm at gmail.com
Sun Nov 14 12:54:36 PST 2010


Commit-ID:  efcb7c588efcaef60bd0b87f9862b87d85d1c2a3
Gitweb:     http://syslinux.zytor.com/commit/efcb7c588efcaef60bd0b87f9862b87d85d1c2a3
Author:     Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Thu, 30 Sep 2010 23:11:10 -0400
Committer:  Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sat, 9 Oct 2010 07:33:07 -0400

rosh: rosh_cd fix DEBUG



---
 com32/rosh/rosh.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/com32/rosh/rosh.c b/com32/rosh/rosh.c
index aac6044..9251977 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)



More information about the Syslinux-commits mailing list