svn commit: r217731 - head/sbin/hastd

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Jan 22 22:35:09 UTC 2011


Author: pjd
Date: Sat Jan 22 22:35:08 2011
New Revision: 217731
URL: http://svn.freebsd.org/changeset/base/217731

Log:
  Use more consistent function name with the others (pjdlogv_prefix_set()
  instead of pjdlog_prefix_setv()).
  
  MFC after:	1 week

Modified:
  head/sbin/hastd/pjdlog.c
  head/sbin/hastd/pjdlog.h

Modified: head/sbin/hastd/pjdlog.c
==============================================================================
--- head/sbin/hastd/pjdlog.c	Sat Jan 22 22:33:27 2011	(r217730)
+++ head/sbin/hastd/pjdlog.c	Sat Jan 22 22:35:08 2011	(r217731)
@@ -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);

Modified: head/sbin/hastd/pjdlog.h
==============================================================================
--- head/sbin/hastd/pjdlog.h	Sat Jan 22 22:33:27 2011	(r217730)
+++ head/sbin/hastd/pjdlog.h	Sat Jan 22 22:35:08 2011	(r217731)
@@ -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);


More information about the svn-src-all mailing list