#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <string.h>
int main __P((int, char *[]));
static void usage __P((void));
printf("name: %s\nmode: %05o\ndev: %08x\n", name, mode, dev);
#else
if (mknod(name, mode, dev) < 0)
- err(1, "%s", argv[0]);
+ err(1, "%s", name);
#endif
exit(0);