From 6f459ff5b49a8482416f3eab8866c784121ecae3 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Sat, 8 Jul 2017 21:44:49 +0300 Subject: [PATCH] 9031 sgs/libld: comparison between pointer and zero character constant Reviewed by: Yuri Pankov Reviewed by: Igor Kozhukhov Reviewed by: Andrew Stormont Approved by: Dan McDonald --- usr/src/cmd/sgs/libld/common/map_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/src/cmd/sgs/libld/common/map_core.c b/usr/src/cmd/sgs/libld/common/map_core.c index 6d0bef174d..8cc1753722 100644 --- a/usr/src/cmd/sgs/libld/common/map_core.c +++ b/usr/src/cmd/sgs/libld/common/map_core.c @@ -1592,7 +1592,7 @@ restart: } } - assert(mf->mf_next == '\0'); + assert(*mf->mf_next == '\0'); return (TRUE); /* -- 2.11.4.GIT