summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2005-06-11 11:46:32 +0000
committerpjd <pjd@FreeBSD.org>2005-06-11 11:46:32 +0000
commit516791d26e9b914790f29c420d3ed712d1984304 (patch)
treef4fb2e2b15bd575028147f49a1e4cc99b7be0a56 /sys/alpha
parentf415d3086c79529b9fc989111bcbc8d0e03b05c5 (diff)
downloadFreeBSD-src-516791d26e9b914790f29c420d3ed712d1984304.zip
FreeBSD-src-516791d26e9b914790f29c420d3ed712d1984304.tar.gz
Fix copy&paste bug.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/osf1/osf1_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/osf1/osf1_mount.c b/sys/alpha/osf1/osf1_mount.c
index ca25854..05c91ff 100644
--- a/sys/alpha/osf1/osf1_mount.c
+++ b/sys/alpha/osf1/osf1_mount.c
@@ -168,7 +168,7 @@ osf1_getfsstat(td, uap)
if (uap->flags & OSF1_MNT_NOWAIT)
flags |= MNT_NOWAIT;
- count = uap->bufsize / sizeof(struct ostatfs);
+ count = uap->bufsize / sizeof(struct osf1_statfs);
size = count * sizeof(struct statfs);
if (size > 0)
buf = malloc(size, M_TEMP, M_WAITOK);
OpenPOWER on IntegriCloud