Subject: Re: hashinit()
To: Christian Biere <christianbiere@gmx.de>
From: Jachym Holecek <freza@dspfpga.com>
List: tech-kern
Date: 02/01/2007 03:47:54
> @@ -428,6 +439,12 @@ hashinit(u_int elements, enum hashtype h
>  	}
>  	*hashmask = hashsize - 1;
>  	return (p);
> +
> +error:
> +	if (!(mflags & M_CANFAIL))
> +		panic("hashinit: %s", msg);
> +
> +	return NULL;
>  }

	if (mflags & M_CANFAIL)
		return NULL;
	panic(...);

Looks a bit more readable to me.

	-- Jachym