Use int16 for error.

MFC after:	1 week
This commit is contained in:
Pawel Jakub Dawidek 2011-01-22 22:33:27 +00:00
parent 5ed118d861
commit 911a2aa37a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217730

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;