lib/libsys/gcov.c - fix gcc warning
This commit is contained in:
parent
300773cdca
commit
250fb23dc0
@ -80,7 +80,7 @@ size_t _gcov_fwrite(void *ptr, size_t itemsize, size_t nitems, FILE *stream)
|
||||
{
|
||||
int size = itemsize * nitems;
|
||||
|
||||
if(!gcov_enable) return NULL;
|
||||
if(!gcov_enable) return -1;
|
||||
|
||||
/* only have one file open at a time to ensure writes go
|
||||
* to the right place.
|
||||
|
Loading…
x
Reference in New Issue
Block a user