embryo_cc - fix return value checking

fixes CID 1039712
This commit is contained in:
Carsten Haitzler 2014-08-14 19:09:30 +09:00
parent f9cef6f079
commit 4e85b6b57b
1 changed files with 2 additions and 1 deletions

View File

@ -163,7 +163,8 @@ void
sc_resetsrc(void *handle, void *position)
{
assert(handle != NULL);
fsetpos((FILE *) handle, (fpos_t *) position);
if (fsetpos((FILE *) handle, (fpos_t *) position) != 0)
fprintf(stderr, "embryo_xx - ERR - fsetpos()\n");
}
char *