Annotation of pkgsrc/sysutils/dmidecode/patches/patch-biosdecode.c, revision 1.1

1.1     ! mrg         1: $NetBSD$
        !             2: 
        !             3: * Use /dev/smbios instead of /dev/mem on NetBSD if available.
        !             4: 
        !             5: --- biosdecode.c.orig  2022-06-27 08:06:32.000000000 -0700
        !             6: +++ biosdecode.c       2022-11-27 14:28:45.654835935 -0800
        !             7: @@ -645,12 +645,12 @@
        !             8:        static const char *help =
        !             9:                "Usage: biosdecode [OPTIONS]\n"
        !            10:                "Options are:\n"
        !            11: -              " -d, --dev-mem FILE     Read memory from device FILE (default: " DEFAULT_MEM_DEV ")\n"
        !            12: +              " -d, --dev-mem FILE     Read memory from device FILE (default: %s)\n"
        !            13:                "     --pir full         Decode the details of the PCI IRQ routing table\n"
        !            14:                " -h, --help             Display this help text and exit\n"
        !            15:                " -V, --version          Display the version and exit\n";
        !            16:  
        !            17: -      printf("%s", help);
        !            18: +      printf(help, DEFAULT_MEM_DEV);
        !            19:  }
        !            20:  
        !            21:  int main(int argc, char * const argv[])

CVSweb <webmaster@jp.NetBSD.org>