aboutsummaryrefslogtreecommitdiff
path: root/sbin/hastd
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2011-01-22 22:35:08 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2011-01-22 22:35:08 +0000
commit09d6ae1b34fe4f5d928c446914bb8bbe0fbcd64a (patch)
treedcf47009243b070b120a93b5d54be67db7811284 /sbin/hastd
parent911a2aa37a1293dbaae6384aa757ef851f4893a7 (diff)
downloadsrc-09d6ae1b34fe4f5d928c446914bb8bbe0fbcd64a.tar.gz
src-09d6ae1b34fe4f5d928c446914bb8bbe0fbcd64a.zip
Use more consistent function name with the others (pjdlogv_prefix_set()
instead of pjdlog_prefix_setv()). MFC after: 1 week
Notes
Notes: svn path=/head/; revision=217731
Diffstat (limited to 'sbin/hastd')
-rw-r--r--sbin/hastd/pjdlog.c4
-rw-r--r--sbin/hastd/pjdlog.h2
2 files changed, 3 insertions, 3 deletions
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);