summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/sun4v/modules/vdsk
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/mdb/sun4v/modules/vdsk')
-rw-r--r--usr/src/cmd/mdb/sun4v/modules/vdsk/vdsk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/cmd/mdb/sun4v/modules/vdsk/vdsk.c b/usr/src/cmd/mdb/sun4v/modules/vdsk/vdsk.c
index b43c3f9d95..c404a3fb98 100644
--- a/usr/src/cmd/mdb/sun4v/modules/vdsk/vdsk.c
+++ b/usr/src/cmd/mdb/sun4v/modules/vdsk/vdsk.c
@@ -24,8 +24,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* This module provides debugging tools for the LDoms vDisk drivers
* (vds and vdc).
@@ -41,7 +39,7 @@ int
vd_dring_entry_walk_init(mdb_walk_state_t *wsp)
{
/* Must have a start addr. */
- if (wsp->walk_addr == NULL) {
+ if (wsp->walk_addr == (uintptr_t)NULL) {
mdb_warn("Descriptor Ring base address required\n");
return (WALK_ERR);