From owner-freebsd-bugs Tue Feb 20 07:58:46 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA19373 for bugs-outgoing; Tue, 20 Feb 1996 07:58:46 -0800 (PST) Received: from flox.kiam1.rssi.ru ([193.232.219.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA19363 for ; Tue, 20 Feb 1996 07:58:30 -0800 (PST) Received: (from avl@localhost) by flox.kiam1.rssi.ru (8.6.12/8.6.9) id SAA27041 for bugs@freebsd.org; Tue, 20 Feb 1996 18:58:16 +0300 Date: Tue, 20 Feb 1996 18:58:16 +0300 From: Lapinsky Alexander Message-Id: <199602201558.SAA27041@flox.kiam1.rssi.ru> To: bugs@freebsd.org Subject: /usr/bin/mt core dumped Sender: owner-bugs@freebsd.org Precedence: bulk Some times mt utility "core dumped" (it is right, for example, for Archive/Wangtek QIC-02 tape controller). Small changes (see below) corrects this trouble (move in source code 1 line down -- quite simple :-). *** /cdrom/usr/src/usr.bin/mt/mt.c Fri Aug 25 22:45:34 1995 --- mt.c Fri Feb 16 17:15:34 1996 *************** *** 302,309 **** printf("%s=%o", s, v); else printf("%s=%x", s, v); - bits++; if (v && bits) { putchar('<'); while (i = *bits++) { if (v & (1 << (i-1))) { --- 302,309 ---- printf("%s=%o", s, v); else printf("%s=%x", s, v); if (v && bits) { + bits++; putchar('<'); while (i = *bits++) { if (v & (1 << (i-1))) { ****************************** cut here ****************************