From b592c266f8e8e1c00e8dea6aaa8f67b3c239d226 Mon Sep 17 00:00:00 2001 From: fvdl Date: Sat, 25 Oct 1997 10:49:36 +0000 Subject: [PATCH] 3rd argument to msync() is now needed by NetBSD as well. --- usr.sbin/dbsym/dbsym.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/usr.sbin/dbsym/dbsym.c b/usr.sbin/dbsym/dbsym.c index bf610a092bd0..b1aad7df0534 100644 --- a/usr.sbin/dbsym/dbsym.c +++ b/usr.sbin/dbsym/dbsym.c @@ -24,12 +24,12 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $NetBSD: dbsym.c,v 1.12 1997/10/18 08:13:06 lukem Exp $ + * $NetBSD: dbsym.c,v 1.13 1997/10/25 10:49:36 fvdl Exp $ */ #include #ifndef lint -__RCSID("$NetBSD: dbsym.c,v 1.12 1997/10/18 08:13:06 lukem Exp $"); +__RCSID("$NetBSD: dbsym.c,v 1.13 1997/10/25 10:49:36 fvdl Exp $"); #endif /* Copy the symbol table into the space reserved for it. */ @@ -166,11 +166,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");