Date: Tue, 12 Oct 1999 22:56:39 -0700 From: Arun Sharma <adsharma@home.com> To: freebsd-hackers@freebsd.org Subject: vm_map.h and C++ warnings Message-ID: <19991012225639.A31171@home.com>
next in thread | raw e-mail | index | archive | help
The following patch fixes it.
-Arun
# diff -u vm_map.h- vm_map.h
--- vm_map.h- Tue Oct 12 22:52:10 1999
+++ vm_map.h Tue Oct 12 22:54:58 1999
@@ -229,7 +229,7 @@
#if defined(MAP_LOCK_DIAGNOSTIC)
printf("locking map LK_EXCLUPGRADE: 0x%x\n", map);
#endif
- error = lockmgr(&map->lock, LK_EXCLUPGRADE, (void *)0, p);
+ error = lockmgr(&map->lock, LK_EXCLUPGRADE, (struct simplelock *)0, p);
if (error == 0)
map->timestamp++;
return error;
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991012225639.A31171>
