From 5ad42b1b1469908fabc0099764182e9ecbc04dda Mon Sep 17 00:00:00 2001 From: Surya Prakki Date: Wed, 30 Dec 2009 19:44:33 -0800 Subject: 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 --- usr/src/lib/lvm/libsvm/common/debug.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'usr/src/lib/lvm/libsvm/common/debug.c') 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 #include #include @@ -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); -- cgit v1.2.3