From 4e85b6b57bb2116963c22b5f05bc8b468c7a4d2d Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Thu, 14 Aug 2014 19:09:30 +0900 Subject: [PATCH] embryo_cc - fix return value checking fixes CID 1039712 --- src/bin/embryo/embryo_cc_sc1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/embryo/embryo_cc_sc1.c b/src/bin/embryo/embryo_cc_sc1.c index f296c00daf..32ec7db62c 100644 --- a/src/bin/embryo/embryo_cc_sc1.c +++ b/src/bin/embryo/embryo_cc_sc1.c @@ -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 *