fixed bug in Usage line

This commit is contained in:
ceriel 1989-02-24 14:53:49 +00:00
parent 587a8e8274
commit 4c755666b8
2 changed files with 2 additions and 2 deletions

View file

@ -132,7 +132,7 @@ main(argc, argv)
if (! rd_open(argv[1])) if (! rd_open(argv[1]))
fatal("Can't read %s.\n", argv[1]); fatal("Can't read %s.\n", argv[1]);
break; break;
default:fatal("Usage: %s [-u] <ACK object> <Sun object>.\n", argv[0]); default:fatal("Usage: %s [-u] <ACK object> <Sun object>.\n", program);
} }
rd_ohead(&outhead); rd_ohead(&outhead);
if (BADMAGIC(outhead)) if (BADMAGIC(outhead))

View file

@ -132,7 +132,7 @@ main(argc, argv)
if (! rd_open(argv[1])) if (! rd_open(argv[1]))
fatal("Can't read %s.\n", argv[1]); fatal("Can't read %s.\n", argv[1]);
break; break;
default:fatal("Usage: %s [-u] <ACK object> <Sun object>.\n", argv[0]); default:fatal("Usage: %s [-u] <ACK object> <Sun object>.\n", program);
} }
rd_ohead(&outhead); rd_ohead(&outhead);
if (BADMAGIC(outhead)) if (BADMAGIC(outhead))