summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/chunk.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-01 21:30:24 +0000
committerjkh <jkh@FreeBSD.org>1995-05-01 21:30:24 +0000
commitd0d51976ab3315b9d155a3551f319e36b88b260c (patch)
tree6e11e6b138730f2a1ec6a14f57f18e25178fc1e6 /lib/libdisk/chunk.c
parent4844e933103f7ecc19603fa589904bb7ff80c174 (diff)
downloadFreeBSD-src-d0d51976ab3315b9d155a3551f319e36b88b260c.zip
FreeBSD-src-d0d51976ab3315b9d155a3551f319e36b88b260c.tar.gz
foo -> unknown.
I have to be able to show this stuff to the user. :-)
Diffstat (limited to 'lib/libdisk/chunk.c')
-rw-r--r--lib/libdisk/chunk.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libdisk/chunk.c b/lib/libdisk/chunk.c
index 9b3a6bd..ef4192d 100644
--- a/lib/libdisk/chunk.c
+++ b/lib/libdisk/chunk.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: chunk.c,v 1.3 1995/04/29 04:00:54 phk Exp $
+ * $Id: chunk.c,v 1.4 1995/04/30 06:09:24 phk Exp $
*
*/
@@ -198,9 +198,9 @@ Add_Chunk(struct disk *d, u_long offset, u_long size, char *name, chunk_e type,
return 0;
}
c1 = 0;
- if(!c1 && (type == freebsd || type == fat || type == foo))
+ if(!c1 && (type == freebsd || type == fat || type == unknown))
c1 = Find_Mother_Chunk(d->chunks,offset,end,extended);
- if(!c1 && (type == freebsd || type == fat || type == foo))
+ if(!c1 && (type == freebsd || type == fat || type == unknown))
c1 = Find_Mother_Chunk(d->chunks,offset,end,whole);
if(!c1 && type == extended)
c1 = Find_Mother_Chunk(d->chunks,offset,end,whole);
@@ -263,9 +263,9 @@ Delete_Chunk(struct disk *d, struct chunk *c)
if(type == whole)
return 1;
- if(!c1 && (type == freebsd || type == fat || type == foo))
+ if(!c1 && (type == freebsd || type == fat || type == unknown))
c1 = Find_Mother_Chunk(d->chunks,c->offset,c->end,extended);
- if(!c1 && (type == freebsd || type == fat || type == foo))
+ if(!c1 && (type == freebsd || type == fat || type == unknown))
c1 = Find_Mother_Chunk(d->chunks,c->offset,c->end,whole);
if(!c1 && type == extended)
c1 = Find_Mother_Chunk(d->chunks,c->offset,c->end,whole);
OpenPOWER on IntegriCloud