]> git.sesse.net Git - vlc/blobdiff - modules/video_output/omapfb.c
No need to add a '\n' at the end of messages passed to msg_*
[vlc] / modules / video_output / omapfb.c
index df72a100713af7cb2d5599cf7e10155fd2f8ab27..9d6d27fbecd1e80b1d6e31f1914deeeb704f5015 100644 (file)
@@ -598,7 +598,7 @@ static int OpenDisplay( vout_thread_t *p_vout )
     if( (p_sys->p_video = (uint8_t *)mmap( 0, p_sys->i_page_size, PROT_READ | PROT_WRITE, MAP_SHARED,
                                             p_sys->i_fd, 0 )) == MAP_FAILED )
     {
-        msg_Err( p_vout, "Can't mmap: %s\n", strerror(errno) );
+        msg_Err( p_vout, "Can't mmap: %s", strerror(errno) );
         return VLC_EGENERIC;
     }
 
@@ -615,7 +615,7 @@ static int OpenDisplay( vout_thread_t *p_vout )
     if( (p_sys->p_null = (uint8_t *)mmap( 0, p_sys->i_page_size, PROT_READ | PROT_WRITE,
                                           MAP_PRIVATE, p_sys->i_null_fd, 0 )) == MAP_FAILED )
     {
-        msg_Err( p_vout, "Can't mmap 2: %s\n", strerror(errno) );
+        msg_Err( p_vout, "Can't mmap 2: %s", strerror(errno) );
         return VLC_EGENERIC;
     }