Lines Matching refs:argv
42 int main(int argc, char *argv[])
51 fprintf(stderr, "usage: %s <zImage-file> <boot-image> <load address> <entry point>\n",argv[0]);
55 if (stat(argv[1], &st) < 0) {
65 bt.bb_dest = htonl(strtoul(argv[3], NULL, 0));
66 bt.bb_entry_point = htonl(strtoul(argv[4], NULL, 0));
82 if ((in_fd = open(argv[1], O_RDONLY)) < 0) {
87 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) {
101 argv[1]);
106 fprintf(stderr, "%s is not an ELF image\n", argv[1]);
111 fprintf(stderr, "%s failed to seek in ELF image\n", argv[1]);