wimlib_vmsg(): Fix error msg printing
authorEric Biggers <ebiggers3@gmail.com>
Sun, 3 Mar 2013 22:21:31 +0000 (16:21 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 3 Mar 2013 22:21:31 +0000 (16:21 -0600)
src/util.c

index 9aad4b2..f915f2f 100644 (file)
@@ -59,7 +59,7 @@ static void wimlib_vmsg(const char *tag, const char *format,
                                snprintf(buf, sizeof(buf),
                                         "unknown error (errno=%d)", errno_save);
                        }
-                       fputs(buf, stderr);
+                       fprintf(stderr, ": %s", buf);
                }
                putc('\n', stderr);
                errno = errno_save;