Francois Gouget : winegcc: Add a trailing linefeed to an error() message.

Alexandre Julliard julliard at winehq.org
Tue Mar 2 15:35:59 CST 2021


Module: wine
Branch: master
Commit: 5d80ee4b6001ba46a96954658a3466d9ff7d5513
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5d80ee4b6001ba46a96954658a3466d9ff7d5513

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Mar  2 20:11:53 2021 +0100

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

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 );




More information about the wine-cvs mailing list