|
Message-ID: <20150709125535.GB24295@port70.net> Date: Thu, 9 Jul 2015 14:55:36 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Cc: Natanael Copa <ncopa@...inelinux.org> Subject: Re: [PATCH] syncfs: return a status integer * Natanael Copa <ncopa@...inelinux.org> [2015-07-09 13:58:56 +0200]: > -void syncfs(int fd) > +int syncfs(int fd) > { > - __syscall(SYS_syncfs, fd); > + return __syscall(SYS_syncfs, fd); > } use syscall instead of __syscall, the later is the raw syscall the former sets up errno correctly.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.