aboutsummaryrefslogtreecommitdiffstats
path: root/com32/rosh/rosh.c
diff options
context:
space:
mode:
authorLiu Aleaxander <Aleaxander@gmail.com>2009-08-11 14:16:23 +0800
committerLiu Aleaxander <Aleaxander@gmail.com>2009-08-11 14:16:23 +0800
commitdb6bc6f4eb6a10fd4af96c5068d651ad4aca95aa (patch)
treee4bea949b95f652073f8ccf4882706f3fe7fd3ba /com32/rosh/rosh.c
parent5d7d50a01de8282a0e910beb0a9f151e526dcb62 (diff)
downloadsyslinux-db6bc6f4eb6a10fd4af96c5068d651ad4aca95aa.tar.gz
syslinux-db6bc6f4eb6a10fd4af96c5068d651ad4aca95aa.tar.xz
syslinux-db6bc6f4eb6a10fd4af96c5068d651ad4aca95aa.zip
Core:SYSLINUX: fix the vfat_searchdir
This makes the searchdir can find a dir; it's also prepared for the readdir function used in rosh Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
Diffstat (limited to 'com32/rosh/rosh.c')
-rw-r--r--com32/rosh/rosh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/rosh/rosh.c b/com32/rosh/rosh.c
index 9a4edae2..fe37d727 100644
--- a/com32/rosh/rosh.c
+++ b/com32/rosh/rosh.c
@@ -428,7 +428,7 @@ void rosh_dir_arg(const char *ifilstr, const char *pwdstr)
filepos = 0;
d = opendir(filestr);
if (d != NULL) {
- printf("DIR:'%s' %8d %8d\n", d->dd_name, d->dd_fd,
+ printf("DIR:'%s' %08x %8d\n", d->dd_name, d->dd_fd,
d->dd_sect);
de = readdir(d);
while (de != NULL) {