Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 11:04:59 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r260818 - stable/9/sys/kern
Message-ID:  <201401171104.s0HB4xWS033586@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Fri Jan 17 11:04:59 2014
New Revision: 260818
URL: http://svnweb.freebsd.org/changeset/base/260818

Log:
  MFC r250817: Use SDT_PROBE1() instead of SDT_PROBE()
  
  MFC slacker:	pjd

Modified:
  stable/9/sys/kern/kern_priv.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/kern_priv.c
==============================================================================
--- stable/9/sys/kern/kern_priv.c	Fri Jan 17 10:58:59 2014	(r260817)
+++ stable/9/sys/kern/kern_priv.c	Fri Jan 17 11:04:59 2014	(r260818)
@@ -159,13 +159,10 @@ priv_check_cred(struct ucred *cred, int 
 	 */
 	error = EPERM;
 out:
-	if (error) {
-		SDT_PROBE(priv, kernel, priv_check, priv_err, priv, 0, 0, 0,
-		    0);
-	} else {
-		SDT_PROBE(priv, kernel, priv_check, priv_ok, priv, 0, 0, 0,
-		    0);
-	}
+	if (error)
+		SDT_PROBE1(priv, kernel, priv_check, priv_err, priv);
+	else
+		SDT_PROBE1(priv, kernel, priv_check, priv_ok, priv);
 	return (error);
 }
 



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