diff options
author | phk <phk@FreeBSD.org> | 1995-05-03 22:36:52 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-05-03 22:36:52 +0000 |
commit | 3a333cad859d44b252ad9f74ed4e333d4c0eeaeb (patch) | |
tree | d3172256de629248edc621730939916b87dcf99f /lib/libdisk/disk.c | |
parent | 455d2a327bf7898d4a18138d09508e0f2318e82f (diff) | |
download | FreeBSD-src-3a333cad859d44b252ad9f74ed4e333d4c0eeaeb.zip FreeBSD-src-3a333cad859d44b252ad9f74ed4e333d4c0eeaeb.tar.gz |
Add the private void *pointer to the chunks, and the functions to manage it.
Make the reassignment of partition names less bogus.
Diffstat (limited to 'lib/libdisk/disk.c')
-rw-r--r-- | lib/libdisk/disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c index 884a3ae..5953986 100644 --- a/lib/libdisk/disk.c +++ b/lib/libdisk/disk.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: disk.c,v 1.13 1995/05/03 06:30:55 phk Exp $ + * $Id: disk.c,v 1.14 1995/05/03 17:37:58 jkh Exp $ * */ @@ -186,7 +186,7 @@ Int_Open_Disk(char *name, u_long size) dl.d_partitions[j].p_size, pname,part, dl.d_partitions[j].p_fstype, - j == 0 ? CHUNK_IS_ROOT : 0) && j != 3) + 0) && j != 3) warn( "Failed to add chunk for partition %c [%lu,%lu]", j + 'a',dl.d_partitions[j].p_offset, |