summaryrefslogtreecommitdiff
path: root/usr/src/lib/lvm/libsvm/common
diff options
context:
space:
mode:
authorSurya Prakki <Surya.Prakki@Sun.COM>2009-12-30 19:44:33 -0800
committerSurya Prakki <Surya.Prakki@Sun.COM>2009-12-30 19:44:33 -0800
commit5ad42b1b1469908fabc0099764182e9ecbc04dda (patch)
treeba3525cff9986be81fae68810de511af275a7022 /usr/src/lib/lvm/libsvm/common
parent9e1a9180bec2232328687ae8e96007921a6ed05d (diff)
downloadillumos-joyent-5ad42b1b1469908fabc0099764182e9ecbc04dda.tar.gz
6894056 libc is not clean
6894060 libnsl is not lint clean 6894068 libpool is not lint clean 6894073 some zone libs are not lint clean 6913623 some user land components of ON are not ss12u1 lint clean
Diffstat (limited to 'usr/src/lib/lvm/libsvm/common')
-rw-r--r--usr/src/lib/lvm/libsvm/common/debug.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/usr/src/lib/lvm/libsvm/common/debug.c b/usr/src/lib/lvm/libsvm/common/debug.c
index 38f7ae56cc..e9e22a46d1 100644
--- a/usr/src/lib/lvm/libsvm/common/debug.c
+++ b/usr/src/lib/lvm/libsvm/common/debug.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,13 +18,12 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
@@ -67,8 +65,8 @@ debug_printf(char *fmt, ...)
cp = buf + (libsvm_len - 1);
va_start(ap, fmt);
if (vsnprintf(cp, (PATH_MAX - (libsvm_len - 1)),
- fmt, ap) >= 0) {
- write_status(LOGSCR, LEVEL0, buf);
+ fmt, ap) >= 0) {
+ (void) write_status(LOGSCR, LEVEL0, buf);
}
free(buf);
va_end(ap);