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;
                }
        }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to