diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-04-29 05:03:02 +0000 | 
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-04-29 05:03:02 +0000 | 
| commit | d402093152f568e53edac91e4b8534d846d37f43 (patch) | |
| tree | 9e00edae9b557a40ed455a869750b34be9d1b3eb /lib/libdisk/create_chunk.c | |
| parent | ba034263ba7e5b66022ebceb5fb0c3149cde397a (diff) | |
Notes
Diffstat (limited to 'lib/libdisk/create_chunk.c')
| -rw-r--r-- | lib/libdisk/create_chunk.c | 7 | 
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c index 05a22a26ad68..32d8012c4a69 100644 --- a/lib/libdisk/create_chunk.c +++ b/lib/libdisk/create_chunk.c @@ -6,7 +6,7 @@   * this stuff is worth it, you can buy me a beer in return.   Poul-Henning Kamp   * ----------------------------------------------------------------------------   * - * $Id: create_chunk.c,v 1.22 1995/12/07 10:33:20 peter Exp $ + * $Id: create_chunk.c,v 1.23 1996/03/24 18:55:37 joerg Exp $   *   */ @@ -221,7 +221,6 @@ Create_Chunk_DWIM(struct disk *d, struct chunk *parent , u_long size, chunk_e ty  	offset = c1->offset;  	goto found;      } -    warn("Not enough unused space");      return 0;   found:      if (parent->flags & CHUNK_BAD144) { @@ -232,10 +231,8 @@ Create_Chunk_DWIM(struct disk *d, struct chunk *parent , u_long size, chunk_e ty  	    size = edge - offset + 1;      }      i = Add_Chunk(d,offset,size,"X",type,subtype,flags); -    if (i) { -	warn("Didn't cut it"); +    if (i)  	return 0; -    }      Fixup_Names(d);      for (c1=parent->part; c1 ; c1 = c1->next)  	if (c1->offset == offset)  | 
