aboutsummaryrefslogtreecommitdiff
path: root/lib/libdisk/chunk.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-04-29 04:00:57 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-04-29 04:00:57 +0000
commitf9c10dfd1a49c87ca42b7ad41173c959bfd5aa64 (patch)
tree11c2e7145c25cef4f5bba439fe31fdbe93c53551 /lib/libdisk/chunk.c
parent27bff5727d34ad78ead9babe511735cf46d7b93d (diff)
downloadsrc-f9c10dfd1a49c87ca42b7ad41173c959bfd5aa64.tar.gz
src-f9c10dfd1a49c87ca42b7ad41173c959bfd5aa64.zip
Next Iteration, getting better.
Made an All_FreeBSD() function. Added a cmd-line interface (lowest rank) to the tst01 program. The tst01 program is harmless (worst it can do is coredump), but it is instructive to run, you can see what the slice-code things of your disk...
Notes
Notes: svn path=/head/; revision=8157
Diffstat (limited to 'lib/libdisk/chunk.c')
-rw-r--r--lib/libdisk/chunk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libdisk/chunk.c b/lib/libdisk/chunk.c
index a286cb11d7f6..e81c646ae3b3 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$
+ * $Id: chunk.c,v 1.2 1995/04/29 01:55:19 phk Exp $
*
*/
@@ -228,8 +228,8 @@ Print_Chunk(struct chunk *c1,int offset)
if(!c1) return;
for(i=0;i<offset;i++) putchar('>');
for(;i<10;i++) putchar(' ');
- printf("%10lu %10lu %10lu %-8s %d %-8s %d %lx\n",
- c1->offset, c1->size, c1->end, c1->name,
+ printf("%p %10lu %10lu %10lu %-8s %d %-8s %d %lx\n",
+ c1, c1->offset, c1->size, c1->end, c1->name,
c1->type, chunk_n[c1->type],c1->subtype,c1->flags);
Print_Chunk(c1->part,offset + 2);
Print_Chunk(c1->next,offset);