am 031fec0b
: Merge "ServiceManager: Print kernel/userspace binder version"
* commit '031fec0b9da7f5985c5a1650ed570ca3872e63c0': ServiceManager: Print kernel/userspace binder version
This commit is contained in:
commit
8d9f899a5e
@ -113,7 +113,9 @@ struct binder_state *binder_open(size_t mapsize)
|
||||
|
||||
if ((ioctl(bs->fd, BINDER_VERSION, &vers) == -1) ||
|
||||
(vers.protocol_version != BINDER_CURRENT_PROTOCOL_VERSION)) {
|
||||
fprintf(stderr, "binder: driver version differs from user space\n");
|
||||
fprintf(stderr,
|
||||
"binder: kernel driver version (%d) differs from user space version (%d)\n",
|
||||
vers.protocol_version, BINDER_CURRENT_PROTOCOL_VERSION);
|
||||
goto fail_open;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user