https://bugzilla.novell.com/show_bug.cgi?id=444637
User madworm_de.novell@spitzenpfeil.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=444637#c9
--- Comment #9 from robert spitzenpfeil 2009-02-12 10:56:39 MST ---
Erm, is this good enough: "ioprio_get: Function not implemented"
As soon as I run the unpatched ionice without any parameters this is what I
get.
Adding the patch doesn't fix that.
If ionice is called without any command line parameters the variable 'set' is
0.
Somewhere further down comes this:
if (!set) {
if (!pid && argv[optind])
pid = strtol(argv[optind], NULL, 10);
ioprio = ioprio_get(IOPRIO_WHO_PROCESS, pid);
This error also occurs in the patched version.
You are right, that if ionice is called with e.g. -c 3 .... it works, but only
then.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.