Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 9 Jul 2015 14:55:36 +0200
From: Szabolcs Nagy <>
Cc: Natanael Copa <>
Subject: Re: [PATCH] syncfs: return a status integer

* Natanael Copa <> [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.