Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2002 12:17:39 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 8816 for review
Message-ID:  <200204012017.g31KHdD39267@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8816

Change 8816 by jhb@jhb_laptop on 2002/04/01 12:17:22

	Bah, fix another new suser().

Affected files ...

... //depot/projects/smpng/sys/dev/wi/if_wi.c#23 edit

Differences ...

==== //depot/projects/smpng/sys/dev/wi/if_wi.c#23 (text+ko) ====

@@ -1801,7 +1801,7 @@
 			error = copyout(&wreq, ifr->ifr_data, sizeof(wreq));
 		break;
 	case SIOCSPRISM2DEBUG:
-		if ((error = suser(p)))
+		if ((error = suser(td)))
 			goto out;
 		error = copyin(ifr->ifr_data, &wreq, sizeof(wreq));
 		if (error)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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