alan@drivax.UUCP (Alan Fargusson) (07/31/85)
errpt(1m) has two problems that I found lately. One is that when you type an option that it doesn't recoginse it prints something like '\w?'. This is a problem with a forgotten '*' in front of argv in the printf. This is agravated by the man page which describes a non-existant -d option. There is no -d option. If you want to specify a device, say an rp07 you type '-rp07' not '-d rp07'. When an option like -rp07 is specified and there are memory or interrupt errors in the log file following the rp07 errors then these errors are printed. Here is a diff listing of the fixes for these two bugs. Sorry, I don't have a contextual diff program. ------------------------- 701c701 < (void) fprintf(stderr,"%s?\n",*argv); --- > (void) fprintf(stderr,"%s?\n",argv); 1452,1453c1452 < if ((e_hdr.e_type != E_STRAY) && (e_hdr.e_type != E_PRTY) && < (1 << maj) & optdev) { --- > if ((1 << maj) & optdev) { -- Alan Fargusson. { ihnp4, amdahl, mot }!drivax!alan