DragonFly BSD
DragonFly bugs List (threaded) for 2003-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

src/sys/kern/sysv_sem.c


From: qhwt@xxxxxxxxxxxxx
Date: Fri, 1 Aug 2003 21:36:28 +0900

Hello.
While investigating postgres failing to initdb, I've found this.
I haven't tested if postgres runs agains, but merely tested
that semget() worked.

Index: sysv_sem.c
===================================================================
RCS file: /home/source/cvs/dragonfly/src/sys/kern/sysv_sem.c,v
retrieving revision 1.9
diff -u -r1.9 sysv_sem.c
--- sysv_sem.c	30 Jul 2003 00:19:14 -0000	1.9
+++ sysv_sem.c	1 Aug 2003 12:30:33 -0000
@@ -216,7 +216,7 @@
 		return (EINVAL);
 	bcopy(&uap->a2, &uap->which,
 	    sizeof(struct semsys_args) - offsetof(struct semsys_args, a2));
-	return ((*semcalls[which])(&uap));
+	return ((*semcalls[which])(uap));
 }
 
 /*


Regards.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]