Fix broken error checking around pthread functions

This commit is contained in:
Alex Young
2012-06-11 16:08:19 +01:00
parent 5996c8f7ba
commit 2a71b4e7a4
4 changed files with 10 additions and 9 deletions

View File

@@ -179,7 +179,7 @@ int client_read_request( struct client * client , struct nbd_request *out_reques
return 0; /* neat point to close the socket */
}
else {
FATAL_IF_NEGATIVE(-1, "Error reading request");
fatal("Error reading request");
}
}