Extend size of entry buffer for partition type ids from 4 to 5, to allow

room for hex values. Fixes (my own) PR 34791, now that I've had a chance
to test it.
Reviewed-by: martin
This commit is contained in:
dholland 2007-12-28 00:48:43 +00:00
parent 93310937f3
commit 1bbd65fe3f

View File

@ -1,4 +1,4 @@
/* $NetBSD: mbr.c,v 1.78 2007/11/29 23:20:47 dsl Exp $ */
/* $NetBSD: mbr.c,v 1.79 2007/12/28 00:48:43 dholland Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -331,7 +331,7 @@ set_mbr_type(menudesc *m, void *arg)
int type;
u_int start, sz;
int i;
char numbuf[4];
char numbuf[5];
dump_mbr(ombri, "set type");