- fprintf(stderr, "%s: reboot(): %s\n", strerror(errno)); + fprintf(stderr, "%s: reboot(): %s\n", prog, strerror(errno)); Other minor fixes inspired by other warnings produced by gcc.
as well as shutdown