aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib.c b/lib/lib.c
index 1066ef9a..813677dd 100644
--- a/lib/lib.c
+++ b/lib/lib.c
@@ -757,7 +757,7 @@ int xioctl(int fd, int request, void *data)
errno = 0;
rc = ioctl(fd, request, data);
- if (rc == -1 && errno) perror_exit("ioctl %d", request);
+ if (rc == -1 && errno) perror_exit("ioctl %x", request);
return rc;
}