1
0
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:
Volker Lendecke 2018-05-22 13:23:33 +02:00 committed by Jeremy Allison
parent 8b013aa31b
commit c8b4f31105

View File

@ -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;
}
}