summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
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
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')
-rw-r--r--lib/libdisk/chunk.c10
-rw-r--r--lib/libdisk/libdisk.h6
2 files changed, 8 insertions, 8 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);
diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h
index dab99a4..9995696 100644
--- a/lib/libdisk/libdisk.h
+++ b/lib/libdisk/libdisk.h
@@ -6,17 +6,17 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: libdisk.h,v 1.6 1995/04/30 06:09:27 phk Exp $
+ * $Id: libdisk.h,v 1.7 1995/04/30 11:04:14 phk Exp $
*
*/
#define MAX_NO_DISKS 20
/* Max # of disks Disk_Names() will return */
-typedef enum {whole, foo, fat, freebsd, extended, part, unused, reserved} chunk_e;
+typedef enum {whole, unknown, fat, freebsd, extended, part, unused, reserved} chunk_e;
#define CHAR_N static char *chunk_n[] = { \
- "whole","foo","fat","freebsd","extended","part","unused","reserved",0};
+ "whole","unknown","fat","freebsd","extended","part","unused","reserved",0};
struct disk {
char *name;
OpenPOWER on IntegriCloud