Searched refs:prog (Results 1 – 1 of 1) sorted by relevance
/openthread-2.7.6/tools/spi-hdlc-adapter/ |
D | spi-hdlc-adapter.c | 1493 char prog[32]; in main() local 1537 strncpy(prog, argv[0], sizeof(prog) - 1); in main() 1538 prog[sizeof(prog) - 1] = 0; in main() 1568 openlog(basename(prog), LOG_PERROR | LOG_PID | LOG_CONS, LOG_DAEMON); in main() 1741 fprintf(stderr, "%s: Missing SPI device path\n", prog); in main() 1752 … syslog(LOG_ERR, "%s: Unable to open SPI device \"%s\", %s", prog, spi_path, strerror(errno)); in main() 1758 fprintf(stderr, "%s: Unexpected argument \"%s\"\n", prog, argv[optind + 1]); in main()
|