OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c1db04
)
xioctl() error message should use hex ioctl number; that's what headers list.
author
Rob Landley
<rob@landley.net>
Sun, 19 May 2013 05:14:45 +0000
(
00:14
-0500)
committer
Rob Landley
<rob@landley.net>
Sun, 19 May 2013 05:14:45 +0000
(
00:14
-0500)
lib/lib.c
patch
|
blob
|
history
diff --git
a/lib/lib.c
b/lib/lib.c
index
1066ef9
..
813677d
100644
(file)
--- 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;
}