X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0a032eea07f6d77ac6ea4d5a39c9491c34358058..d711510305:/uip/mhparam.c?ds=sidebyside diff --git a/uip/mhparam.c b/uip/mhparam.c index 9cc2718a..17705bc8 100644 --- a/uip/mhparam.c +++ b/uip/mhparam.c @@ -1,5 +1,4 @@ -/* - * mhparam.c -- print mh_profile values +/* mhparam.c -- print mh_profile values * * Originally contributed by * Jeffrey C Honig @@ -11,6 +10,7 @@ #include #include +#include #define MHPARAM_SWITCHES \ X("components", 0, COMPSW) \ @@ -229,7 +229,7 @@ main(int argc, char **argv) * value (as determined after context is read). */ for (ps = procs; ps->p_name; ps++) - printf ("%s: %s\n", ps->p_name, *ps->p_field ? *ps->p_field : ""); + printf ("%s: %s\n", ps->p_name, FENDNULL(*ps->p_field)); }