git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e72a013
)
Remove survivor strerror (malloc always return ENOMEM when it fails anyway)
author
Rémi Denis-Courmont
<rem@videolan.org>
Wed, 3 Oct 2007 17:00:10 +0000
(17:00 +0000)
committer
Rémi Denis-Courmont
<rem@videolan.org>
Wed, 3 Oct 2007 17:00:10 +0000
(17:00 +0000)
src/misc/messages.c
patch
|
blob
|
history
diff --git
a/src/misc/messages.c
b/src/misc/messages.c
index
a9a3c47
..
874a2d4
100644
(file)
--- a/
src/misc/messages.c
+++ b/
src/misc/messages.c
@@
-367,8
+367,7
@@
static void QueueMsg( vlc_object_t *p_this, int i_queue, int i_type,
if( psz_str == NULL )
{
- fprintf( stderr, "main warning: can't store message (%s): ",
- strerror(errno) );
+ fputs( "main warning: no memory to store message): ", stderr );
vlc_va_copy( args, _args );
/* We should use utf8_vfprintf - but it calls malloc()... */
vfprintf( stderr, psz_format, args );