diff options
author | 2006-01-14 21:32:40 +0000 | |
---|---|---|
committer | 2006-01-14 21:32:40 +0000 | |
commit | da6a5abd4c3f30ae8a182cbb189d094d86ad7295 (patch) | |
tree | 1a395e540564fb0601fcca7177007fdff6229182 | |
parent | Properly handle failure binding to a local interface (using the -b (diff) | |
download | wireguard-openbsd-da6a5abd4c3f30ae8a182cbb189d094d86ad7295.tar.xz wireguard-openbsd-da6a5abd4c3f30ae8a182cbb189d094d86ad7295.zip |
Give UDF a chance of working on big-endian architectures, okay miod@
-rw-r--r-- | sys/isofs/udf/udf_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/udf/udf_vfsops.c b/sys/isofs/udf/udf_vfsops.c index 7b91e887700..bd3c662b9e9 100644 --- a/sys/isofs/udf/udf_vfsops.c +++ b/sys/isofs/udf/udf_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udf_vfsops.c,v 1.4 2006/01/14 19:04:17 miod Exp $ */ +/* $OpenBSD: udf_vfsops.c,v 1.5 2006/01/14 21:32:40 pedro Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org> @@ -226,7 +226,7 @@ udf_checktag(struct desc_tag *tag, uint16_t id) itag = (uint8_t *)tag; - if (tag->id != id) + if (letoh16(tag->id) != id) return (EINVAL); for (i = 0; i < 15; i++) |