summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ioprio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ioprio.c b/src/ioprio.c
index 9b5786813..bacabe606 100644
--- a/src/ioprio.c
+++ b/src/ioprio.c
@@ -52,8 +52,10 @@ print_ioprio(unsigned int ioprio)
static void
ioprio_print_who(struct tcb *tcp, int which, int who)
{
- switch (which)
- {
+ switch (which) {
+ case IOPRIO_WHO_USER:
+ printuid(who);
+ break;
case IOPRIO_WHO_PROCESS:
printpid(tcp, who, PT_TGID);
break;