diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-02-13 19:45:28 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-02-13 19:45:28 +0000 |
commit | cdf795d68a664ccfbb6f5ca11305a9411ceb1cb5 (patch) | |
tree | 2f7493ddc66921dc7ab255f58eb0b9cd134e8a50 /sys/compat/svr4/svr4_ipc.c | |
parent | b60d275d31b41695e30666d2f889429533a53ef3 (diff) |
Merge of NetBSD 970211
Diffstat (limited to 'sys/compat/svr4/svr4_ipc.c')
-rw-r--r-- | sys/compat/svr4/svr4_ipc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/compat/svr4/svr4_ipc.c b/sys/compat/svr4/svr4_ipc.c index 3426cf4ec52..9bf62137c9f 100644 --- a/sys/compat/svr4/svr4_ipc.c +++ b/sys/compat/svr4/svr4_ipc.c @@ -1,5 +1,5 @@ -/* $OpenBSD: svr4_ipc.c,v 1.2 1996/08/02 20:35:39 niklas Exp $ */ -/* $NetBSD: svr4_ipc.c,v 1.1 1995/10/14 20:24:30 christos Exp $ */ +/* $OpenBSD: svr4_ipc.c,v 1.3 1997/02/13 19:45:18 niklas Exp $ */ +/* $NetBSD: svr4_ipc.c,v 1.2 1996/10/28 08:46:35 fvdl Exp $ */ /* * Copyright (c) 1995 Christos Zoulas. All rights reserved. @@ -349,7 +349,8 @@ bsd_to_svr4_msqid_ds(bds, sds) /* use the padding for the rest of the fields */ { - short *pad = (short *) bds->msg_pad4; + const short *pad = (const short *)bds->msg_pad4; + sds->msg_cv = pad[0]; sds->msg_qnum_cv = pad[1]; } |