diff options
| author | Guy Helmer <ghelmer@FreeBSD.org> | 1998-07-14 19:07:30 +0000 |
|---|---|---|
| committer | Guy Helmer <ghelmer@FreeBSD.org> | 1998-07-14 19:07:30 +0000 |
| commit | 9629cc12758b1c0943c4909cb284c6060401cd1c (patch) | |
| tree | 291f88a4932902cca8d31aaaf73868b4ce25d06b | |
| parent | dfb1b7aea63f98554bd4ce8f0be0a054fc87fd3d (diff) | |
Notes
| -rw-r--r-- | usr.bin/msgs/msgs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/msgs/msgs.c b/usr.bin/msgs/msgs.c index f5c37ab77e30..74aa339c6662 100644 --- a/usr.bin/msgs/msgs.c +++ b/usr.bin/msgs/msgs.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)msgs.c 8.2 (Berkeley) 4/28/95"; #endif static const char rcsid[] = - "$Id: msgs.c,v 1.11 1998/07/07 22:20:50 jkh Exp $"; + "$Id: msgs.c,v 1.12 1998/07/09 14:06:54 ghelmer Exp $"; #endif /* not lint */ /* @@ -179,8 +179,7 @@ int argc; char *argv[]; setlocale(LC_ALL, ""); time(&t); - seteuid(uid = getuid()); - setuid(uid); + setuid(uid = getuid()); ruptible = (signal(SIGINT, SIG_IGN) == SIG_DFL); if (ruptible) signal(SIGINT, SIG_DFL); |
