mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
bozo: minor style fix
We use spaces around binary '-' but not around unary '-', so tighten up the casted expression "(pid_t)-1" and add some parens around (-1) as well since we're here, for improved readability. Change-Id: Ic9ad30a72ece2e0d4e53a1623e24433970fa5441 Reviewed-on: https://gerrit.openafs.org/15790 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
This commit is contained in:
parent
7f251877c9
commit
efc9c018b1
@ -1138,7 +1138,7 @@ bnode_NewProc(struct bnode *abnode, char *aexecString, char *coreName,
|
||||
cpid = spawnprocve_sig(argv[0], argv, environ, -1, &set);
|
||||
osi_audit(BOSSpawnProcEvent, 0, AUD_STR, aexecString, AUD_END);
|
||||
|
||||
if (cpid == (pid_t) - 1) {
|
||||
if (cpid == (pid_t)(-1)) {
|
||||
ViceLog(0, ("Failed to spawn process for bnode '%s'\n", abnode->name));
|
||||
bnode_FreeTokens(tlist);
|
||||
free(tp);
|
||||
|
Loading…
Reference in New Issue
Block a user