Commit 83bc8e52 authored by Mike Hibler's avatar Mike Hibler

Fix a doofus warning that was triggered unnecessarily.

Comment out an assert that has no purpose than to incorrectly trigger
on OpenBSD.
parent 49c3578e
......@@ -416,7 +416,7 @@ read_bsdcg(struct fs *fsp, struct cg *cgp, int cg, u_int32_t offset)
* we add the bitmap offset. All blocks before cgdmin() will always
* be allocated, but we scan them anyway.
*/
assert(cgbase(fsp, cg) == cgstart(fsp, cg));
//assert(cgbase(fsp, cg) == cgstart(fsp, cg));
dbstart = fsbtodb(fsp, cgbase(fsp, cg)) + offset;
if (debug > 2)
......
/*
* EMULAB-COPYRIGHT
* Copyright (c) 2000-2006 University of Utah and the Flux Group.
* Copyright (c) 2000-2007 University of Utah and the Flux Group.
* All rights reserved.
*/
......@@ -699,7 +699,7 @@ main(int argc, char *argv[])
* intended. So we just don't do it til we figure out what
* the "right" behavior is.
*/
if (slice) {
if (dofill) {
fprintf(stderr,
"WARNING: requested zeroing in slice mode, "
"will NOT zero outside of slice!\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment