X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=APIs%2Fmknod.api;h=a6bc8efffa752fd2840993bff7a9c27bfebf54da;hb=53126578ee08c0bd3b3987959fb7d768deb5aedc;hp=07d2cca19b61f4ce75d634247c8f337843d77c0e;hpb=f4ef980b13bde6e00fa918e35fd834a9fe824d0e;p=wrappi.git diff --git a/APIs/mknod.api b/APIs/mknod.api index 07d2cca..a6bc8ef 100644 --- a/APIs/mknod.api +++ b/APIs/mknod.api @@ -19,11 +19,8 @@ entry_point void mknod_char (pathname path, fileperm perm, uint64 major, uint64 minor) << - if (mknod (path, S_IFCHR | perm, makedev (major, minor)) == -1) { + if (mknod (path, S_IFCHR | perm, makedev (major, minor)) == -1) set_error_errno ("mknod: %s", path); - return -1; - } - return 0; >> includes [ "sys/types.h"; "sys/stat.h"; "fcntl.h"; "unistd.h" ]