From 6a921ee56e2f989f6cadb0d9a4bc1855b9e4addf Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 19 May 2013 00:14:45 -0500 Subject: xioctl() error message should use hex ioctl number; that's what headers list. --- lib/lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/lib.c') 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; } -- cgit v1.2.3