summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-09-30 03:43:28 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-09-30 03:43:28 +0000
commit76a33ff402ab12f3b4b8f0e35c00e7907861aa34 (patch)
tree81627aa27d83f650e987b0adc183398aa22c3782 /sys
parent6ecc2c4df9095162b18c6b112e6ba880b18d327e (diff)
Change ni_dirfd's position in struct nameidata to eliminate alignment
padding on LP64 platforms ok millert@ miod@
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/namei.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/namei.h b/sys/sys/namei.h
index e7ca35636b0..31ed038ed90 100644
--- a/sys/sys/namei.h
+++ b/sys/sys/namei.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: namei.h,v 1.26 2011/07/07 23:45:00 matthew Exp $ */
+/* $OpenBSD: namei.h,v 1.27 2011/09/30 03:43:27 guenther Exp $ */
/* $NetBSD: namei.h,v 1.11 1996/02/09 18:25:20 christos Exp $ */
/*
@@ -50,8 +50,8 @@ struct nameidata {
/*
* Arguments to namei/lookup.
*/
- int ni_dirfd; /* dirfd from *at() functions */
const char *ni_dirp; /* pathname pointer */
+ int ni_dirfd; /* dirfd from *at() functions */
enum uio_seg ni_segflg; /* location of pathname */
/* u_long ni_nameiop; namei operation */
/* u_long ni_flags; flags to namei */