Commit 924a0672 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Use fputs - properly

parent eb74f351
......@@ -370,8 +370,8 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc,
/* Internal error: unknown option */
if( !b_ignore_errors )
{
fputs( stderr, "vlc: unknown option"
" or missing mandatory argument " );
fputs( "vlc: unknown option"
" or missing mandatory argument ", stderr );
if( optopt )
{
fprintf( stderr, "`-%c'\n", optopt );
......@@ -380,7 +380,7 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc,
{
fprintf( stderr, "`%s'\n", ppsz_argv[optind-1] );
}
fprintf( stderr, "Try `vlc --help' for more information.\n" );
fputs( "Try `vlc --help' for more information.\n", stderr );
for( i_index = 0; p_longopts[i_index].name; i_index++ )
free( (char *)p_longopts[i_index].name );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment