summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-11-17 11:36:34 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-11-17 11:36:34 +0000
commit60f736c539b0e7c7688c93608d1f7fcdbf4827ff (patch)
treefbf8fada094f4ffee875b891de6f654f0fa278e4
parent8c4d7ed043b4067a5d41f188075e17313eaea7ff (diff)
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 1d029a28e68..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 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");