Bug 116105 - too few parameters
too few parameters
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: run (Show other bugs)
1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Michael K. Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-02-18 05:32 EST by d.binderman
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-02-18 12:51:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description d.binderman 2004-02-18 05:32:34 EST
Description of problem:

I just tried to compile package run-2.0-3 from Fedora.

The compiler said

1.

mpadvise.c(185): error #165: too few arguments in function call

The source code is

   int ret = sched_getaffinity(pid, &set);

but in file /usr/include/sched.h is

extern int sched_getaffinity (__pid_t __pid, unsigned int __len,
                              unsigned long int *__mask) __THROW;


I'm not sure what the fix is for this.

2.

mpadvise.c(208): error #165: too few arguments in function call

   int ret = sched_setaffinity(pid, &set);

Again, file /usr/include/sched.h tells us

extern int sched_setaffinity (__pid_t __pid, unsigned int __len,
                              unsigned long int *__mask) __THROW;



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Bill Nottingham 2004-02-18 12:51:35 EST
This package is currently deprecated and not shipped in FC2.

Note You need to log in before you can comment on or make changes to this bug.