diff --git a/src/bin/embryo/embryo_cc_sc1.c b/src/bin/embryo/embryo_cc_sc1.c index 32ec7db62c..1c7ba49fad 100644 --- a/src/bin/embryo/embryo_cc_sc1.c +++ b/src/bin/embryo/embryo_cc_sc1.c @@ -179,7 +179,8 @@ sc_getpossrc(void *handle) static fpos_t lastpos; /* may need to have a LIFO stack of * such positions */ - fgetpos((FILE *) handle, &lastpos); + if (fgetpos((FILE *) handle, &lastpos) != 0) + fprintf(stderr, "embryo_xx - ERR - fgetpos()\n"); return &lastpos; }