From eaac3b79f5524dd56118cce69bbad8144f31004f Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Wed, 2 Sep 2015 23:02:46 +0000 Subject: [PATCH] lib/io.h: fix io.read() git-svn-id: svn://kolibrios.org@5785 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/lib/io.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/programs/cmm/lib/io.h b/programs/cmm/lib/io.h index fa29fd82c1..39743a2d0b 100644 --- a/programs/cmm/lib/io.h +++ b/programs/cmm/lib/io.h @@ -234,14 +234,13 @@ pos++; if(!strncmp(pos,"sys/",4)) 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,"tmp/",4)) return PATH; - if(!strncmp(pos,"cd/",3)) return PATH; - if(!strncmp(pos,"bd/",3)) return PATH; - if(!strncmp(pos,"usbhd/",6)) return PATH; - if(!strncmp(pos,"kolibrios/",10)) return PATH; + if(!strncmp(pos,"fd/",3)) return PATH; + if(!strncmp(pos,"cd",2)) return PATH; + if(!strncmp(pos,"hd",2)) return PATH; + if(!strncmp(pos,"bd",2)) return PATH; + if(!strncmp(pos,"tmp",3)) return PATH; + if(!strncmp(pos,"usbhd",5)) return PATH; sprintf(#__PATH_NEW,"/sys%s",PATH); return #__PATH_NEW; }