Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/common Use correct sched_setscheduler sysca...



details:   https://anonhg.NetBSD.org/src/rev/70a9826e7c4b
branches:  trunk
changeset: 747134:70a9826e7c4b
user:      njoly <njoly%NetBSD.org@localhost>
date:      Thu Sep 03 17:15:17 2009 +0000

description:
Use correct sched_setscheduler syscall 3rd argument type.

diffstat:

 sys/compat/linux/common/linux_sched.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1f71e41533d1 -r 70a9826e7c4b sys/compat/linux/common/linux_sched.c
--- a/sys/compat/linux/common/linux_sched.c     Thu Sep 03 16:53:10 2009 +0000
+++ b/sys/compat/linux/common/linux_sched.c     Thu Sep 03 17:15:17 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_sched.c,v 1.60 2009/06/23 13:18:59 njoly Exp $   */
+/*     $NetBSD: linux_sched.c,v 1.61 2009/09/03 17:15:17 njoly Exp $   */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sched.c,v 1.60 2009/06/23 13:18:59 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sched.c,v 1.61 2009/09/03 17:15:17 njoly Exp $");
 
 #include <sys/param.h>
 #include <sys/mount.h>
@@ -351,7 +351,7 @@
        /* {
                syscallarg(linux_pid_t) pid;
                syscallarg(int) policy;
-               syscallarg(cont struct linux_sched_scheduler *) sp;
+               syscallarg(cont struct linux_sched_param *) sp;
        } */
        int error, policy;
        struct linux_sched_param lp;



Home | Main Index | Thread Index | Old Index