kern/172160: 1.95.2.2 revision of amr.c breaks amrstat
Petr Lampa
lampa at fit.vutbr.cz
Sat Sep 29 14:10:05 UTC 2012
>Number: 172160
>Category: kern
>Synopsis: 1.95.2.2 revision of amr.c breaks amrstat
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 29 14:10:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Petr Lampa
>Release: 9.1-PRERELEASE
>Organization:
BUT FIT
>Environment:
FreeBSD xxx 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sat Sep 29 10:39:13 CEST 2012 eeee:/usr/src/sys/amd64/compile/KAZI amd64
>Description:
amrstat stopped working at all after 1.95.2.2 revision of amr.c
>How-To-Repeat:
>Fix:
this change seems to be sufficient to get amrstat working again:
*** amr.c 2012-05-30 18:13:10.000000000 +0200
--- amr.c.my 2012-09-21 10:12:37.000000000 +0200
***************
*** 919,925 ****
/* build the command */
ac->ac_data = dp;
! ac->ac_length = real_length;
ac->ac_flags |= AMR_CMD_DATAIN|AMR_CMD_DATAOUT;
/* run the command */
--- 919,925 ----
/* build the command */
ac->ac_data = dp;
! ac->ac_length = au_length;
ac->ac_flags |= AMR_CMD_DATAIN|AMR_CMD_DATAOUT;
/* run the command */
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list