summaryrefslogtreecommitdiff
path: root/usr.bin/pkill/pkill.c
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2007-02-09 22:08:48 +0000
committerad <ad@NetBSD.org>2007-02-09 22:08:48 +0000
commit401499f30e43e9ebf55c065c70fbb3c8d2ea39cd (patch)
tree562788dc7eb8b22c4887be2afd92ceb8ac0ebfc9 /usr.bin/pkill/pkill.c
parentb07ec3fc388a5aeae51e8871aa89eefea3ce1e53 (diff)
Sync with kernel changes introduced by merging the newlock2 branch.
Diffstat (limited to 'usr.bin/pkill/pkill.c')
-rw-r--r--usr.bin/pkill/pkill.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/pkill/pkill.c b/usr.bin/pkill/pkill.c
index 67a72b8a131..0c2de7ed187 100644
--- a/usr.bin/pkill/pkill.c
+++ b/usr.bin/pkill/pkill.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pkill.c,v 1.17 2006/02/25 01:13:55 wiz Exp $ */
+/* $NetBSD: pkill.c,v 1.18 2007/02/09 22:08:49 ad Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: pkill.c,v 1.17 2006/02/25 01:13:55 wiz Exp $");
+__RCSID("$NetBSD: pkill.c,v 1.18 2007/02/09 22:08:49 ad Exp $");
#endif /* !lint */
#include <sys/types.h>
@@ -345,7 +345,7 @@ main(int argc, char **argv)
SLIST_FOREACH(li, &tdevlist, li_chain) {
if (li->li_number == -1 &&
- (kp->p_flag & P_CONTROLT) == 0)
+ (kp->p_flag & KP_CONTROLT) == 0)
break;
if (kp->p_tdev == (uid_t)li->li_number)
break;