search for: err_usage

Displaying 2 results from an estimated 2 matches for "err_usage".

Did you mean: end_usage
2012 Nov 23
1
[PATCH] nictype.c32: PXELINUX module to display UNDI NIC bus type...
...nfo.NicType = 0; + + printf("NIC type: %s\n", nic_type_names[nic_type_info.NicType]); + + if (argc < 1 || argc > 2 || (argc == 2 && argv[1] && + strncmp(argv[1], "--config", + sizeof "--config"))) { + status = usage(argv[0]); + goto err_usage; + } + + if (argc == 1) { + status = EXIT_SUCCESS; + goto out; + } + + if (nic_type_info.NicType != PCI_NIC) { + fprintf(stderr, "NIC type not supported for --config\n"); + goto err_config_nic_type; + } + + status = sprintf(filename, "%04X%04X", nic_type_info....
2013 Jul 31
29
[PATCH 0/9] tools: remove or disable old/useless/unused/unmainted stuff
depends on "autoconf: regenerate configure scripts with 4.4 version" This series removes some of the really old deadwood from the tools build and makes some other things which are on their way out configurable at build time with a default depending on how far down the slope I judge them to be. * nuke in tree copy of libaio * nuke obsolete tools: xsview, miniterm, lomount & sv *