about summary refs log tree commit diff
path: root/sysdeps/generic/sched_getaffinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/sched_getaffinity.c')
-rw-r--r--sysdeps/generic/sched_getaffinity.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/sched_getaffinity.c b/sysdeps/generic/sched_getaffinity.c
index b9b7207d3f..b2e452f879 100644
--- a/sysdeps/generic/sched_getaffinity.c
+++ b/sysdeps/generic/sched_getaffinity.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,8 +23,9 @@
 
 /* Retrieve the CPU affinity mask for a particular process.  */
 int
-sched_getaffinity (pid, cpuset)
+sched_getaffinity (pid, cpusetsize, cpuset)
      pid_t pid;
+     size_t cpusetsize;
      cpu_set_t *cpuset;
 {
   __set_errno (ENOSYS);