mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Cc: Natanael Copa <ncopa@alpinelinux.org>
Subject: Re: [PATCH] syncfs: return a status integer
Date: Thu, 9 Jul 2015 14:55:36 +0200	[thread overview]
Message-ID: <20150709125535.GB24295@port70.net> (raw)
In-Reply-To: <1436443136-12394-1-git-send-email-ncopa@alpinelinux.org>

* Natanael Copa <ncopa@alpinelinux.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.


  reply	other threads:[~2015-07-09 12:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-09 11:58 Natanael Copa
2015-07-09 12:55 ` Szabolcs Nagy [this message]
2015-07-09 14:18   ` [PATCH v2] " Natanael Copa
2015-07-09 16:34 ` [PATCH] " Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150709125535.GB24295@port70.net \
    --to=nsz@port70.net \
    --cc=musl@lists.openwall.com \
    --cc=ncopa@alpinelinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).