summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-03-15 22:15:55 +0200
committerToomas Soome <tsoome@me.com>2019-07-31 09:54:16 +0300
commit7b64dea37f86f82e3b7fc0f52918a46d5567ac8e (patch)
tree4a9bfd5cf4be0d5030268289c83036595ef12217
parent1e88dc672aa1283fdca243a70822306e816340d7 (diff)
downloadillumos-joyent-7b64dea37f86f82e3b7fc0f52918a46d5567ac8e.tar.gz
11455 mdb: libfksmbfs NULL pointer errors
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/cmd/mdb/common/modules/smbfs/smbfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/mdb/common/modules/smbfs/smbfs.c b/usr/src/cmd/mdb/common/modules/smbfs/smbfs.c
index e787fd86e5..d7ea831663 100644
--- a/usr/src/cmd/mdb/common/modules/smbfs/smbfs.c
+++ b/usr/src/cmd/mdb/common/modules/smbfs/smbfs.c
@@ -281,7 +281,7 @@ static const mdb_dcmd_t dcmds[] = {
int
vfs_walk_init(mdb_walk_state_t *wsp)
{
- if (wsp->walk_addr == NULL &&
+ if (wsp->walk_addr == (uintptr_t)NULL &&
mdb_readvar(&wsp->walk_addr, "rootvfs") == -1) {
mdb_warn("failed to read 'rootvfs'");
return (WALK_ERR);