diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-12 19:45:10 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-12 19:45:10 +0000 |
commit | 9588dc084a40a7b71a5ab85b4ae575afac88e38f (patch) | |
tree | 2fecbc177a61d16e4fd2548f01b23cef932efc61 /libexec | |
parent | e51cccd570cb5c4700e706020d138b6eb85f1a7d (diff) |
Fix typo that prevented user's gid in passwd entry from being applied;
Brian Poole
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/identd/identd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/identd/identd.c b/libexec/identd/identd.c index a7ad9182772..202f306d844 100644 --- a/libexec/identd/identd.c +++ b/libexec/identd/identd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: identd.c,v 1.25 2002/03/12 18:45:17 millert Exp $ */ +/* $OpenBSD: identd.c,v 1.26 2002/03/12 19:45:09 millert Exp $ */ /* * This program is in the public domain and may be used freely by anyone @@ -207,7 +207,7 @@ main(argc, argv) optarg); else { set_uid = pwd->pw_uid; - if (setgid == 0) + if (set_gid == 0) set_gid = pwd->pw_gid; } break; |