diff options
author | phk <phk@FreeBSD.org> | 2002-10-23 19:52:32 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-23 19:52:32 +0000 |
commit | 3c688df1144b5bdaff8d7a1bb0a2b070aeb58570 (patch) | |
tree | 8f96ba2125f5c49c01733b91085df28bc416b157 /lib/libdisk/disk.c | |
parent | a422fc77aed8e1bd796a01b2de09138e90fabad5 (diff) | |
download | FreeBSD-src-3c688df1144b5bdaff8d7a1bb0a2b070aeb58570.zip FreeBSD-src-3c688df1144b5bdaff8d7a1bb0a2b070aeb58570.tar.gz |
Untangle #ifdefs in the write-end of things by giving each arch its
own file and own copy of WriteDisk() to do things in.
This should have happened years ago, instead of adding #ifdefs all
over the place.
Diffstat (limited to 'lib/libdisk/disk.c')
-rw-r--r-- | lib/libdisk/disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c index 329e933..ebd3def 100644 --- a/lib/libdisk/disk.c +++ b/lib/libdisk/disk.c @@ -402,7 +402,7 @@ assignToSlice(void *arg, XMLToken t, u_int *slice, u_int64_t v) * Callback to collect disk-related data. */ static int -assignToDisk(void *arg, XMLToken t, const u_int *slice, u_int64_t v) +assignToDisk(void *arg, XMLToken t, u_int *slice, u_int64_t v) { struct disklabel *dl = (struct disklabel *) arg; |