summaryrefslogtreecommitdiff
path: root/sysutils/mtools/patches/patch-ac
blob: 4ee53ac9948ca0f762259d51ffc4b6c766669bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ac,v 1.6 2001/02/28 10:26:02 wiz Exp $
--- floppyd.c.orig	Sun May 28 13:20:30 2000
+++ floppyd.c	Wed Feb 14 13:42:45 2001
@@ -574,7 +574,7 @@
 		}
 	else
 		{
-			uid = 65535;
+			uid = getuserid("nobody");
 		}
 
 #ifdef DEBUG
@@ -600,7 +600,7 @@
 		}
 	else
 		{
-			gid = 65535;
+			gid = getgroupid(uid);
 		}
 
 #ifdef DEBUG