make: Fix dumpmacros() - scc - simple c99 compiler
 (HTM) git clone git://git.simple-cc.org/scc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 21c3b7490331139d994775aa00fe96f407cf960e
 (DIR) parent a5daeaadac2ae9e7ed83f3565d606210ea263a2e
 (HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
       Date:   Sun, 21 Jan 2024 11:34:22 +0100
       
       make: Fix dumpmacros()
       
       The field value was used instead of name to get the value of the
       macro.
       
       Diffstat:
         M src/cmd/make/parser.c               |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/cmd/make/parser.c b/src/cmd/make/parser.c
       @@ -58,7 +58,7 @@ dumpmacros(void)
        
                for (pp = htab; pp < &htab[TABSIZ]; ++pp) {
                        for (p = *pp; p; p = p->next)
       -                        printf("%s = %s\n", p->name, getmacro(p->value));
       +                        printf("%s = %s\n", p->name, getmacro(p->name));
                }
        }