From: LaMont Jones Date: Wed, 11 Jul 2007 18:26:30 +0000 (-0600) Subject: let syscall.h define ioprio_{set,get} X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7641944ca1fa26f6f93e93b2cb823a9589934332;p=util-linux let syscall.h define ioprio_{set,get} --- diff --git a/schedutils/ionice.c b/schedutils/ionice.c index fe3b4a9a..4f30c1de 100644 --- a/schedutils/ionice.c +++ b/schedutils/ionice.c @@ -15,6 +15,7 @@ #include #include +#if 0 #if defined(__i386__) #define __NR_ioprio_set 289 #define __NR_ioprio_get 290 @@ -39,6 +40,7 @@ #else #error "Unsupported arch" #endif +#endif static inline int ioprio_set(int which, int who, int ioprio) {