Use int16 for error.

MFC after:	1 week
This commit is contained in:
pjd 2011-01-22 22:33:27 +00:00
parent 6dd16e11a4
commit e3b328c442

View File

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