diff options
| author | Toomas Soome <tsoome@me.com> | 2017-07-16 12:28:12 +0300 |
|---|---|---|
| committer | Hans Rosenfeld <hans.rosenfeld@joyent.com> | 2018-05-16 12:02:58 +0200 |
| commit | c7a0678d54bbc87f507a8909a193f75cbb463ede (patch) | |
| tree | 0729190a9862dd3c576f0c03b76dd5ac8e84a9f3 /usr/src/cmd/svr4pkg/libinst/pkgops.c | |
| parent | a5f0d1fc79d4435b41cb64c37207978b97d8146b (diff) | |
| download | illumos-gate-c7a0678d54bbc87f507a8909a193f75cbb463ede.tar.gz | |
9374 svr4pkg: comparison between pointer and zero character constant
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Reviewed by: John Levon <john.levon@joyent.com>
Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Diffstat (limited to 'usr/src/cmd/svr4pkg/libinst/pkgops.c')
| -rw-r--r-- | usr/src/cmd/svr4pkg/libinst/pkgops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/cmd/svr4pkg/libinst/pkgops.c b/usr/src/cmd/svr4pkg/libinst/pkgops.c index b88e673379..404ea2b412 100644 --- a/usr/src/cmd/svr4pkg/libinst/pkgops.c +++ b/usr/src/cmd/svr4pkg/libinst/pkgops.c @@ -1150,10 +1150,10 @@ pkgTestInstalled(char *a_packageName, char *a_rootPath) /* entry assertions */ - assert(a_packageName != (char *)NULL); + assert(a_packageName != NULL); assert(*a_packageName != '\0'); - assert(a_rootPath != (char *)NULL); - assert(a_rootPath != '\0'); + assert(a_rootPath != NULL); + assert(*a_rootPath != '\0'); /* entry debugging info */ |
