diff options
author | Rob Landley <rob@landley.net> | 2013-05-19 00:14:45 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-05-19 00:14:45 -0500 |
commit | 6a921ee56e2f989f6cadb0d9a4bc1855b9e4addf (patch) | |
tree | b7b3cb4481748484702cadd66745740ef07a1c4c | |
parent | 1c1db048ad86067de70305a6e737802cf96ea302 (diff) | |
download | toybox-6a921ee56e2f989f6cadb0d9a4bc1855b9e4addf.tar.gz toybox-6a921ee56e2f989f6cadb0d9a4bc1855b9e4addf.tar.bz2 toybox-6a921ee56e2f989f6cadb0d9a4bc1855b9e4addf.zip |
xioctl() error message should use hex ioctl number; that's what headers list.
-rw-r--r-- | lib/lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |