Fix an embarassing bug in make_message().
authorAndre Noll <maan@systemlinux.org>
Wed, 4 Jun 2008 15:35:23 +0000 (17:35 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 4 Jun 2008 15:35:23 +0000 (17:35 +0200)
Outch.

osl.c

diff --git a/osl.c b/osl.c
index c0e70cf..d41923f 100644 (file)
--- a/osl.c
+++ b/osl.c
@@ -57,6 +57,7 @@ static __must_check __printf_1_2 __malloc char *make_message(const char *fmt, ..
                        free(p);
                        return NULL;
                }
+               p = q;
        }
        return p;
 }