Date: Tue, 20 Feb 1996 18:58:16 +0300 From: Lapinsky Alexander <avl@kiam1.rssi.ru> To: bugs@freebsd.org Subject: /usr/bin/mt core dumped Message-ID: <199602201558.SAA27041@flox.kiam1.rssi.ru>
next in thread | raw e-mail | index | archive | help
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 ****************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602201558.SAA27041>