svn commit: r260818 - stable/9/sys/kern
Andriy Gapon
avg at FreeBSD.org
Fri Jan 17 11:05:00 UTC 2014
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);
}
More information about the svn-src-stable-9
mailing list