Fix perror calls for VxWorks platform
perror does not support string formatting. The problematic code is in VxWorks ifdef so this error was not breaking the other targets compilation. Change-Id: I44e5d247bfa76815c81f0d122f0e34b75538dfa9 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
ae6a2e7a87
commit
2540ec8d65
@ -104,12 +104,12 @@ bool QThreadPipe::init()
|
||||
|
||||
// create the pipe
|
||||
if (pipeDevCreate(name, 128 /*maxMsg*/, 1 /*maxLength*/) != OK) {
|
||||
perror("QThreadPipe: Unable to create thread pipe device %s", name);
|
||||
perror("QThreadPipe: Unable to create thread pipe device");
|
||||
return false;
|
||||
}
|
||||
|
||||
if ((fds[0] = open(name, O_RDWR, 0)) < 0) {
|
||||
perror("QThreadPipe: Unable to open pipe device %s", name);
|
||||
perror("QThreadPipe: Unable to open pipe device");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user