svn commit: r262240 - stable/9/sys/kern

Christian Brueffer brueffer at FreeBSD.org
Thu Feb 20 08:58:05 UTC 2014


Author: brueffer
Date: Thu Feb 20 08:58:05 2014
New Revision: 262240
URL: http://svnweb.freebsd.org/changeset/base/262240

Log:
  MFC: r261858
  
  Fix a bug in be_uuid_dec(); it called le16dec() instead of be16dec(),
  probably due to copy+pasting le_uuid_dec().
  
  PR:		146588
  Submitted by:	Erwin Rol <erwin at erwinrol.com>
  Reviewed by:	marcel

Modified:
  stable/9/sys/kern/kern_uuid.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/kern_uuid.c
==============================================================================
--- stable/9/sys/kern/kern_uuid.c	Thu Feb 20 08:55:59 2014	(r262239)
+++ stable/9/sys/kern/kern_uuid.c	Thu Feb 20 08:58:05 2014	(r262240)
@@ -314,7 +314,7 @@ be_uuid_dec(void const *buf, struct uuid
 
 	p = buf;
 	uuid->time_low = be32dec(p);
-	uuid->time_mid = le16dec(p + 4);
+	uuid->time_mid = be16dec(p + 4);
 	uuid->time_hi_and_version = be16dec(p + 6);
 	uuid->clock_seq_hi_and_reserved = p[8];
 	uuid->clock_seq_low = p[9];


More information about the svn-src-stable-9 mailing list