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

Use fputs - properly

parent eb74f351
...@@ -370,8 +370,8 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc, ...@@ -370,8 +370,8 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc,
/* Internal error: unknown option */ /* Internal error: unknown option */
if( !b_ignore_errors ) if( !b_ignore_errors )
{ {
fputs( stderr, "vlc: unknown option" fputs( "vlc: unknown option"
" or missing mandatory argument " ); " or missing mandatory argument ", stderr );
if( optopt ) if( optopt )
{ {
fprintf( stderr, "`-%c'\n", optopt ); fprintf( stderr, "`-%c'\n", optopt );
...@@ -380,7 +380,7 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc, ...@@ -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, "`%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++ ) for( i_index = 0; p_longopts[i_index].name; i_index++ )
free( (char *)p_longopts[i_index].name ); 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