From owner-p4-projects@FreeBSD.ORG Fri May 16 18:20:00 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 17E991065683; Fri, 16 May 2008 18:20:00 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDD931065681 for ; Fri, 16 May 2008 18:19:59 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A488D8FC13 for ; Fri, 16 May 2008 18:19:59 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m4GIJxLg046746 for ; Fri, 16 May 2008 18:19:59 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4GIJxtb046744 for perforce@freebsd.org; Fri, 16 May 2008 18:19:59 GMT (envelope-from jb@freebsd.org) Date: Fri, 16 May 2008 18:19:59 GMT Message-Id: <200805161819.m4GIJxtb046744@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 141726 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 18:20:00 -0000 http://perforce.freebsd.org/chv.cgi?CH=141726 Change 141726 by jb@freebsd3 on 2008/05/16 18:19:48 Ensure that undefined arguments get ignored properly. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/dev/systrace/systrace.c#9 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/dev/systrace/systrace.c#9 (text+ko) ==== @@ -158,6 +158,9 @@ systrace_setargdesc(sysnum, desc->dtargd_ndx, desc->dtargd_native, sizeof(desc->dtargd_native)); + if (desc->dtargd_native[0] == '\0') + desc->dtargd_ndx = DTRACE_ARGNONE; + return; }