mirror of https://github.com/FDOS/kernel.git
&& should be || in check for \, / and :
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@661 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
4e0c27f016
commit
7471b8f614
|
@ -507,7 +507,7 @@ BOOL init_device(struct dhdr FAR * dhp, char *cmdLine, COUNT mode,
|
||||||
|
|
||||||
for (p = q = cmdLine; *p && *p != ' ' && *p != '\t'; p++)
|
for (p = q = cmdLine; *p && *p != ' ' && *p != '\t'; p++)
|
||||||
{
|
{
|
||||||
if (*p == '\\' || *p == '/' && *p == ':')
|
if (*p == '\\' || *p == '/' || *p == ':')
|
||||||
q = p + 1;
|
q = p + 1;
|
||||||
}
|
}
|
||||||
for (i = 0; i < 8; i++) {
|
for (i = 0; i < 8; i++) {
|
||||||
|
|
Loading…
Reference in New Issue