summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iosched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iosched.c b/iosched.c
index 7417973..ff82126 100644
--- a/iosched.c
+++ b/iosched.c
@@ -47,7 +47,7 @@ static void ioprio_setpid(pid_t pid, int ioprio, int ioclass)
int ret = ioprio_set(ioprio_who_process, pid,
ioprio | ioclass << IOPRIO_CLASS_SHIFT);
if (ret < 0)
- panic("Failed to set io prio for pid!\n");
+ panic("Failed to set io prio for pid: %s\n", strerror(errno));
}
void ioprio_print(void)