mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdbd: Fix CID 1435732
Argument cannot be negative
setenv returns its error in "errno" Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
8b013aa31b
commit
c8b4f31105
@ -307,7 +307,7 @@ int main(int argc, const char *argv[])
|
||||
1);
|
||||
if (ret != 0) {
|
||||
D_ERR("Failed to set up lock debugging (%s)\n",
|
||||
strerror(ret));
|
||||
strerror(errno));
|
||||
goto fail;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user