summaryrefslogtreecommitdiff
path: root/command/markad-standalone.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'command/markad-standalone.cpp')
-rw-r--r--command/markad-standalone.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/command/markad-standalone.cpp b/command/markad-standalone.cpp
index 4096477..47d9eaa 100644
--- a/command/markad-standalone.cpp
+++ b/command/markad-standalone.cpp
@@ -34,7 +34,6 @@
#include "markad-standalone.h"
#include "version.h"
-extern int sys_ioprio_set(int which, int who, int ioprio);
bool SYSLOG=false;
bool LOG2REC=false;
cMarkAdStandalone *cmasta=NULL;
@@ -55,7 +54,7 @@ static inline int ioprio_set(int which, int who, int ioprio)
#define __NR_ioprio_set 1274
#define __NR_ioprio_get 1275
#else
-#error "Unsupported arch"
+ return 0; // just do nothing
#endif
return syscall(__NR_ioprio_set, which, who, ioprio);
}