ports/emulators/qemu-devel/files/extra-patch-bsd-user-syscall.c
Juergen Lock cf14e8bdd7 - Update to 2.0.0 - announce message is here:
http://article.gmane.org/gmane.comp.emulators.qemu/267615

- Take updated bsd-user patches from sbruno's github repo. [1]
- Add headers to my recent bsd-user patches. (they are applied as in
  the EXTRA_PATCHES order in the port Makefile)

Submitted by:	sbruno [1]
Obtained from:	https://github.com/seanbruno/qemu/commits/bsd-user [1]
2014-04-18 10:53:51 +00:00

20 lines
614 B
C

From nox Mon Sep 17 00:00:00 2001
From: Juergen Lock <nox@jelal.kn-bremen.de>
Date: 05 Apr 2014 02:04:00 +0200
Subject: Fix bsd-user FreeBSD fchflags() syscall (typo)
Fix bsd-user FreeBSD fchflags() syscall. (typo)
Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
--- a/bsd-user/syscall.c
+++ b/bsd-user/syscall.c
@@ -627,7 +627,7 @@ abi_long do_freebsd_syscall(void *cpu_en
break;
case TARGET_FREEBSD_NR_fchflags: /* fchflags(2) */
- ret = do_bsd_fchflags(arg2, arg2);
+ ret = do_bsd_fchflags(arg1, arg2);
break;
case TARGET_FREEBSD_NR_chroot: /* chroot(2) */