diff options
Diffstat (limited to 'src/base/cba/cbaPrs.h')
-rw-r--r-- | src/base/cba/cbaPrs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/cba/cbaPrs.h b/src/base/cba/cbaPrs.h index dad10a7a..1418ffdb 100644 --- a/src/base/cba/cbaPrs.h +++ b/src/base/cba/cbaPrs.h @@ -104,7 +104,7 @@ struct Cba_Prs_t_ static inline int Cba_PrsErrorSet( Cba_Prs_t * p, char * pError, int Value ) { assert( !p->ErrorStr[0] ); - sprintf( p->ErrorStr, pError ); + sprintf( p->ErrorStr, "%s", pError ); return Value; } // print error message |