Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2011 08:34:31 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r222343 - head/sys/cddl/compat/opensolaris/kern
Message-ID:  <201105270834.p4R8YVS8007972@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Fri May 27 08:34:31 2011
New Revision: 222343
URL: http://svn.freebsd.org/changeset/base/222343

Log:
  Silence warnings about unsupoorted value types.
  
  MFC after:	2 weeks

Modified:
  head/sys/cddl/compat/opensolaris/kern/opensolaris_sysevent.c

Modified: head/sys/cddl/compat/opensolaris/kern/opensolaris_sysevent.c
==============================================================================
--- head/sys/cddl/compat/opensolaris/kern/opensolaris_sysevent.c	Fri May 27 07:38:58 2011	(r222342)
+++ head/sys/cddl/compat/opensolaris/kern/opensolaris_sysevent.c	Fri May 27 08:34:31 2011	(r222343)
@@ -113,8 +113,10 @@ sysevent_add_attr(sysevent_attr_list_t *
 		}
 		break;
 	default:
+#if 0
 		printf("%s: type %d is not implemented\n", __func__,
 		    se_value->value_type);
+#endif
 		break;
 	}
 
@@ -286,8 +288,10 @@ log_sysevent(sysevent_t *evp, int flag, 
 			break;
 		    }
 		default:
+#if 0
 			printf("%s: type %d is not implemented\n", __func__,
 			    nvpair_type(elem));
+#endif
 			break;
 		}
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105270834.p4R8YVS8007972>