lib/io.h: fix io.read()

git-svn-id: svn://kolibrios.org@5785 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2015-09-02 23:02:46 +00:00
parent 6f0e6671db
commit eaac3b79f5

View File

@ -234,14 +234,13 @@
pos++; pos++;
if(!strncmp(pos,"sys/",4)) return PATH; if(!strncmp(pos,"sys/",4)) return PATH;
if(!strncmp(pos,"kolibrios/",10)) return PATH; if(!strncmp(pos,"kolibrios/",10)) return PATH;
if(!strncmp(pos,"hd/",3)) return PATH;
if(!strncmp(pos,"fd/",3)) return PATH;
if(!strncmp(pos,"rd/",3)) return PATH; if(!strncmp(pos,"rd/",3)) return PATH;
if(!strncmp(pos,"tmp/",4)) return PATH; if(!strncmp(pos,"fd/",3)) return PATH;
if(!strncmp(pos,"cd/",3)) return PATH; if(!strncmp(pos,"cd",2)) return PATH;
if(!strncmp(pos,"bd/",3)) return PATH; if(!strncmp(pos,"hd",2)) return PATH;
if(!strncmp(pos,"usbhd/",6)) return PATH; if(!strncmp(pos,"bd",2)) return PATH;
if(!strncmp(pos,"kolibrios/",10)) return PATH; if(!strncmp(pos,"tmp",3)) return PATH;
if(!strncmp(pos,"usbhd",5)) return PATH;
sprintf(#__PATH_NEW,"/sys%s",PATH); sprintf(#__PATH_NEW,"/sys%s",PATH);
return #__PATH_NEW; return #__PATH_NEW;
} }