[PATCH] winegcc: Add a trailing linefeed to an error() message.

Francois Gouget fgouget at free.fr
Tue Mar 2 13:11:53 CST 2021


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 tools/winegcc/winegcc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index c812af48670..9297a9b75bd 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -1679,7 +1679,7 @@ int main(int argc, char **argv)
             strarray_add( opts.args, argv[i] );
             continue;
         }
-        if ((fstat( fd, &st ) == -1)) error( "Cannot stat %s", argv[i] + 1 );
+        if ((fstat( fd, &st ) == -1)) error( "Cannot stat %s\n", argv[i] + 1 );
         if (st.st_size)
         {
             input_buffer = xmalloc( st.st_size + 1 );
-- 
2.20.1




More information about the wine-devel mailing list