mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 08:11:50 -04:00
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]
20 lines
614 B
C
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) */
|