Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site drivax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!oliveb!hplabs!amdahl!drivax!alan From: alan@drivax.UUCP (Alan Fargusson) Newsgroups: net.bugs.usg Subject: errpt(1m) Message-ID: <197@drivax.UUCP> Date: Tue, 30-Jul-85 18:32:45 EDT Article-I.D.: drivax.197 Posted: Tue Jul 30 18:32:45 1985 Date-Received: Sat, 3-Aug-85 02:27:55 EDT Distribution: net Organization: Digital Research, Monterey, CA Lines: 28 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