summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkstailey <kstailey@openbsd.org>1997-11-17 11:36:33 +0000
committerkstailey <kstailey@openbsd.org>1997-11-17 11:36:33 +0000
commit91eb8347a8a2aca5adc03d4e6fa5fe119c6e2abd (patch)
tree30a2ef3709b499f71be99de2c9dc5c493b3026f6
parentimplement IBCS2_FIONBIO; christos (diff)
downloadwireguard-openbsd-91eb8347a8a2aca5adc03d4e6fa5fe119c6e2abd.tar.xz
wireguard-openbsd-91eb8347a8a2aca5adc03d4e6fa5fe119c6e2abd.zip
3-arg msync(2)
-rw-r--r--usr.sbin/dbsym/dbsym.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/dbsym/dbsym.c b/usr.sbin/dbsym/dbsym.c
index 1f80b85d402..940d10b8a2e 100644
--- a/usr.sbin/dbsym/dbsym.c
+++ b/usr.sbin/dbsym/dbsym.c
@@ -24,7 +24,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: dbsym.c,v 1.1.1.1 1995/10/18 08:47:31 deraadt Exp $
+ * $Id: dbsym.c,v 1.2 1997/11/17 11:36:33 kstailey Exp $
*/
/* Copy the symbol table into the space reserved for it. */
@@ -174,11 +174,7 @@ main(argc,argv)
*ip++ = head.a_syms;
memcpy((char*)ip, symbols, head.a_syms + strtab_len);
- msync(dataseg - data_pgoff, file_len - data_off
-#ifdef sun
- ,0
-#endif
- );
+ msync(dataseg - data_pgoff, file_len - data_off ,0);
#ifdef DEBUG
printf("...done\n");