src/sys/kern/sysv_sem.c
qhwt at myrealbox.com
qhwt at myrealbox.com
Fri Aug 1 05:37:03 PDT 2003
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.
More information about the Bugs
mailing list