summaryrefslogtreecommitdiff
path: root/sys/src/9/port/portdat.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-08-09 21:35:50 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-08-09 21:35:50 +0200
commitb4f56f1f4e8eff3965457ef9492528ee820e59bd (patch)
tree63872bf62f88dcdc3b9b15f7ae91124a0bd2f053 /sys/src/9/port/portdat.h
parent9f4eac529243e21ae310ad3a07139d9981f1ce9c (diff)
kernel: mount flag is int not ulong, reduce size of Mount struct by putting mflag field in what would be wasted as padding
Diffstat (limited to 'sys/src/9/port/portdat.h')
-rw-r--r--sys/src/9/port/portdat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/port/portdat.h b/sys/src/9/port/portdat.h
index 21107d870..be5b4e4df 100644
--- a/sys/src/9/port/portdat.h
+++ b/sys/src/9/port/portdat.h
@@ -254,11 +254,11 @@ enum
struct Mount
{
ulong mountid;
+ int mflag;
Mount* next;
Mount* order;
Chan* to; /* channel replacing channel */
- int mflag;
- char *spec;
+ char* spec;
};
struct Mhead