Fix warning.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32706 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2009-08-26 13:12:02 +00:00
parent 8382dc4be4
commit 64c68424bd

View File

@ -290,9 +290,9 @@ print_syscall(FILE *outputFile, debug_post_syscall &message,
// if the return type is status_t or ssize_t, print human-readable
// error codes
if (returnType->TypeName() == "status_t"
|| (returnType->TypeName() == "ssize_t"
|| ((returnType->TypeName() == "ssize_t"
|| returnType->TypeName() == "int")
&& message.return_value < 0) {
&& message.return_value < 0)) {
print_to_string(&string, &length, " %s", strerror(message.return_value));
}
}