[syslinux:master] rosh: compact previous commit
syslinux-bot for Gene Cumm
gene.cumm at gmail.com
Sun Nov 14 12:54:40 PST 2010
Commit-ID: adac922714ec5835812fe8902d17eb0c5f0ff316
Gitweb: http://syslinux.zytor.com/commit/adac922714ec5835812fe8902d17eb0c5f0ff316
Author: Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Sat, 2 Oct 2010 00:16:54 -0400
Committer: Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sat, 9 Oct 2010 07:33:07 -0400
rosh: compact previous commit
---
com32/rosh/rosh.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/com32/rosh/rosh.c b/com32/rosh/rosh.c
index 8d4b501..f5ed6cd 100644
--- a/com32/rosh/rosh.c
+++ b/com32/rosh/rosh.c
@@ -778,8 +778,7 @@ void rosh_ls_arg(const char *filestr, const int *optarr)
if (status == 0) {
if (S_ISDIR(fdstat.st_mode)) {
ROSH_DEBUG("PATH '%s' is a directory\n", filestr);
- d = opendir(filestr);
- if (d) {
+ if (d = opendir(filestr)) {
rosh_ls_arg_dir(filestr, d, optarr);
} else {
rosh_error(errno, "ls", filestr);
More information about the Syslinux-commits
mailing list