summaryrefslogtreecommitdiff
path: root/src/bin/embryo
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-14 19:09:30 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-14 19:09:30 +0900
commit4e85b6b57bb2116963c22b5f05bc8b468c7a4d2d (patch)
tree8eb256d222e63e9eaaa79a7b308edaf027adf9d6 /src/bin/embryo
parentf9cef6f079a747f56656f7191230f9b9e97fc8aa (diff)
embryo_cc - fix return value checking
fixes CID 1039712
Diffstat (limited to 'src/bin/embryo')
-rw-r--r--src/bin/embryo/embryo_cc_sc1.c3
1 files changed, 2 insertions, 1 deletions
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
163sc_resetsrc(void *handle, void *position) 163sc_resetsrc(void *handle, void *position)
164{ 164{
165 assert(handle != NULL); 165 assert(handle != NULL);
166 fsetpos((FILE *) handle, (fpos_t *) position); 166 if (fsetpos((FILE *) handle, (fpos_t *) position) != 0)
167 fprintf(stderr, "embryo_xx - ERR - fsetpos()\n");
167} 168}
168 169
169char * 170char *