diff --git a/common/ChangeLog b/common/ChangeLog index 1c63b5248..afc48367c 100644 --- a/common/ChangeLog +++ b/common/ChangeLog @@ -1,5 +1,7 @@ 2003-11-13 Werner Koch + * util.h (vasprintf): Also fixed the prototype. + * vasprintf.c (vasprintf): ARGS should not be a pointer. Fixed segv on Solaris. Reported by Andrew J. Schorr. diff --git a/common/util.h b/common/util.h index 987c8dfe8..e38ced337 100644 --- a/common/util.h +++ b/common/util.h @@ -112,7 +112,7 @@ int is_file_compressed (const char *s, int *ret_rc); /*-- replacement functions from funcname.c --*/ #if !HAVE_VASPRINTF #include -int vasprintf (char **result, const char *format, va_list *args); +int vasprintf (char **result, const char *format, va_list args); int asprintf (char **result, const char *format, ...); #endif