From: Damon B. <da...@br...> - 2006-06-16 19:09:31
|
Hi, This is the patch in pkgsrc that seems to fix the issue: --- ataprint.c.orig 2004-06-04 22:59:16.000000000 +0200 +++ ataprint.c 2006-04-21 01:10:45.000000000 +0200 @@ -90,7 +90,14 @@ char tmp[65]; n = n > 64 ? 64 : n; +#ifndef __NetBSD__ swapbytes(tmp, in, n); +#else + if (isbigendian()) + strncpy(tmp, in, n); + else + swapbytes(tmp, in, n); +#endif tmp[n] = '\0'; trim(out, tmp); } On Fri, Jun 16, 2006 at 12:53:26PM +0200, Leon Woestenberg wrote: > Bruce Allen wrote: > > Sergey, can you comment please? > > > > ---------- Forwarded message ---------- > > > > Device Model: aMtxro6 2B050S > > > > In the above output the Model, SN and Firmware seem to have bytes swapped. The Device Model should read: Matrox 6B250S0 > Let me see: "aMt" -> "Mat" and "xro" -> "rox". > > Hhhhhmnnnn, not as simple as byte-swapping. > > I bet the brand reads Maxtor on the label :-) > > Good weekend to you all, > > Leon. > > > _______________________________________________ > Smartmontools-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-support |