]> diplodocus.org Git - nmh/blobdiff - uip/mhparam.c
test/common.sh.in: Clarify it's the first failure by a *named* test.
[nmh] / uip / mhparam.c
index 4d8407d1ab96299ac452f71afec466e98861113f..17705bc894346f04508edbdf4cac0e99805d5eb6 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <h/mh.h>
 #include <h/mts.h>
+#include <h/utils.h>
 
 #define MHPARAM_SWITCHES \
     X("components", 0, COMPSW) \
@@ -228,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));
 
     }