Date: Fri, 26 Aug 2011 10:39:33 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r225188 - stable/8/sbin/camcontrol Message-ID: <201108261039.p7QAdXe5050815@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Fri Aug 26 10:39:33 2011 New Revision: 225188 URL: http://svn.freebsd.org/changeset/base/225188 Log: MFC r225018: Fix WWN printing in `camcontrol identify` output. Modified: stable/8/sbin/camcontrol/camcontrol.c Directory Properties: stable/8/sbin/camcontrol/ (props changed) Modified: stable/8/sbin/camcontrol/camcontrol.c ============================================================================== --- stable/8/sbin/camcontrol/camcontrol.c Fri Aug 26 08:46:59 2011 (r225187) +++ stable/8/sbin/camcontrol/camcontrol.c Fri Aug 26 10:39:33 2011 (r225188) @@ -1082,7 +1082,7 @@ atacapprint(struct ata_params *parm) printf("firmware revision %.8s\n", parm->revision); printf("serial number %.20s\n", parm->serial); if (parm->enabled.extension & ATA_SUPPORT_64BITWWN) { - printf("WWN %02x%02x%02x%02x\n", + printf("WWN %04x%04x%04x%04x\n", parm->wwn[0], parm->wwn[1], parm->wwn[2], parm->wwn[3]); } if (parm->enabled.extension & ATA_SUPPORT_MEDIASN) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108261039.p7QAdXe5050815>