diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-02-21 07:53:35 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-02-21 07:53:35 +0000 |
commit | 65c07c4340a2c8ce192545f1360c8129946c7139 (patch) | |
tree | 34c4b9a96ac56983c34a614bfc1908bc1d6cf999 | |
parent | 033950af51e08982e1e51e39b4dc172d8abf1d7a (diff) |
Replaced fprintf/printf with err_report()
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1807 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | third_party/srtp/crypto/rng/rand_source.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/third_party/srtp/crypto/rng/rand_source.c b/third_party/srtp/crypto/rng/rand_source.c index 9867c295..3d01d25a 100644 --- a/third_party/srtp/crypto/rng/rand_source.c +++ b/third_party/srtp/crypto/rng/rand_source.c @@ -98,10 +98,7 @@ rand_source_init(void) { dev_random_fdes = RAND_SOURCE_READY; #else /* no random source available; let the user know */
- if (stderr) - fprintf(stderr, "WARNING: no real random source present!\n");
- else
- printf("WARNING: no real random source present!\n"); + err_report(err_level_info, "WARNING: no real random source present!\n"); dev_random_fdes = RAND_SOURCE_READY; #endif return err_status_ok; |