summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/spigot.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-02-27 18:32:23 +0000
committerjhb <jhb@FreeBSD.org>2002-02-27 18:32:23 +0000
commit3706cd350927f08fa8742cce9448c9ba8e4d6b2c (patch)
treede74317436bc6bf8211535e1dbda3f6762d05582 /sys/i386/isa/spigot.c
parentec01b5bdbc40025303ba133be03a747c8dc62a2c (diff)
downloadFreeBSD-src-3706cd350927f08fa8742cce9448c9ba8e4d6b2c.zip
FreeBSD-src-3706cd350927f08fa8742cce9448c9ba8e4d6b2c.tar.gz
Simple p_ucred -> td_ucred changes to start using the per-thread ucred
reference.
Diffstat (limited to 'sys/i386/isa/spigot.c')
-rw-r--r--sys/i386/isa/spigot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/spigot.c b/sys/i386/isa/spigot.c
index 23cbd3c..cc51b18 100644
--- a/sys/i386/isa/spigot.c
+++ b/sys/i386/isa/spigot.c
@@ -178,7 +178,7 @@ struct spigot_softc *ss = (struct spigot_softc *)&spigot_softc[UNIT(dev)];
error = suser_td(td);
if (error != 0)
return error;
- error = securelevel_gt(td->td_proc->p_ucred, 0);
+ error = securelevel_gt(td->td_ucred, 0);
if (error != 0)
return error;
#endif
@@ -235,7 +235,7 @@ struct spigot_info *info;
error = suser_td(td);
if (error != 0)
return error;
- error = securelevel_gt(td->td_proc->p_ucred, 0);
+ error = securelevel_gt(td->td_ucred, 0);
if (error)
return error;
#endif
OpenPOWER on IntegriCloud