Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2008 18:19:59 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 141726 for review
Message-ID:  <200805161819.m4GIJxtb046744@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 }
 



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