-/* $NetBSD: worm.c,v 1.18 2000/01/09 17:17:21 jsm Exp $ */
+/* $NetBSD: worm.c,v 1.19 2000/05/08 07:56:06 mycroft Exp $ */
/*
* Copyright (c) 1980, 1993
#if 0
static char sccsid[] = "@(#)worm.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: worm.c,v 1.18 2000/01/09 17:17:21 jsm Exp $");
+__RCSID("$NetBSD: worm.c,v 1.19 2000/05/08 07:56:06 mycroft Exp $");
#endif
#endif /* not lint */
{
/* Revoke setgid privileges */
- setregid(getgid(), getgid());
+ setgid(getgid());
if (argc == 2)
start_len = atoi(argv[1]);