Use int16 for error.
MFC after: 1 week
This commit is contained in:
parent
6dd16e11a4
commit
e3b328c442
@ -177,7 +177,7 @@ control_status_worker(struct hast_resource *res, struct nv *nvout,
|
||||
goto end;
|
||||
}
|
||||
|
||||
error = nv_get_int64(cnvin, "error");
|
||||
error = nv_get_int16(cnvin, "error");
|
||||
if (error != 0)
|
||||
goto end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user