$NetBSD: patch-af,v 1.2 1999/08/02 11:28:36 sakamoto Exp $ --- server/main.c.orig Mon Mar 23 19:48:03 1998 +++ server/main.c Mon Aug 2 19:26:45 1999 @@ -215,9 +215,11 @@ (void) setlocale(LC_CTYPE, "ja_JP.EUC"); #endif opening(); +#ifndef __NetBSD__ if (setuid(geteuid())) { fprintf(stderr, "error at setuid.\r\n"); exit(1); } +#endif parse_arg(argc, argv); read_runcmd();