diff options
author | Xin LI <delphij@FreeBSD.org> | 2005-03-03 02:17:20 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2005-03-03 02:17:20 +0000 |
commit | b2253a33dc25a681ad12fea17c46ef9efc6badcf (patch) | |
tree | 6fdde31da7590286c88bddb999736e5802167e37 /usr.bin/pkill | |
parent | 52a1e57048a5de4ac7b6e752ee8a4dbd5795b60f (diff) | |
download | src-b2253a33dc25a681ad12fea17c46ef9efc6badcf.tar.gz src-b2253a33dc25a681ad12fea17c46ef9efc6badcf.zip |
Notes
Diffstat (limited to 'usr.bin/pkill')
-rw-r--r-- | usr.bin/pkill/pkill.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/pkill/pkill.c b/usr.bin/pkill/pkill.c index f49bc9e3ec8c..8af5cfff6c2e 100644 --- a/usr.bin/pkill/pkill.c +++ b/usr.bin/pkill/pkill.c @@ -1,4 +1,4 @@ -/* $NetBSD: pkill.c,v 1.7 2004/02/15 17:03:30 soren Exp $ */ +/* $NetBSD: pkill.c,v 1.8 2005/03/02 15:31:44 abs Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -533,13 +533,13 @@ makelist(struct listhead *head, enum listtype type, char *src) case LT_USER: if ((pw = getpwnam(sp)) == NULL) errx(STATUS_BADUSAGE, "unknown user `%s'", - optarg); + sp); li->li_number = pw->pw_uid; break; case LT_GROUP: if ((gr = getgrnam(sp)) == NULL) errx(STATUS_BADUSAGE, "unknown group `%s'", - optarg); + sp); li->li_number = gr->gr_gid; break; case LT_TTY: |