diff --git a/sbin/hastd/pjdlog.c b/sbin/hastd/pjdlog.c index 6a72e7a722ac..2c7c36dd3297 100644 --- a/sbin/hastd/pjdlog.c +++ b/sbin/hastd/pjdlog.c @@ -105,7 +105,7 @@ pjdlog_prefix_set(const char *fmt, ...) va_list ap; va_start(ap, fmt); - pjdlog_prefix_setv(fmt, ap); + pjdlogv_prefix_set(fmt, ap); va_end(ap); } @@ -114,7 +114,7 @@ pjdlog_prefix_set(const char *fmt, ...) * Setting prefix to NULL will remove it. */ void -pjdlog_prefix_setv(const char *fmt, va_list ap) +pjdlogv_prefix_set(const char *fmt, va_list ap) { assert(fmt != NULL); diff --git a/sbin/hastd/pjdlog.h b/sbin/hastd/pjdlog.h index 28b49dec7d78..7a4af2649431 100644 --- a/sbin/hastd/pjdlog.h +++ b/sbin/hastd/pjdlog.h @@ -48,7 +48,7 @@ void pjdlog_debug_set(int level); int pjdlog_debug_get(void); void pjdlog_prefix_set(const char *fmt, ...) __printflike(1, 2); -void pjdlog_prefix_setv(const char *fmt, va_list ap) __printflike(1, 0); +void pjdlogv_prefix_set(const char *fmt, va_list ap) __printflike(1, 0); void pjdlog_common(int loglevel, int debuglevel, int error, const char *fmt, ...) __printflike(4, 5);