Change w_notrunning and w_stillcold from pointer to array so that sizeof

returns what is expected.

PR:		kern/138557
Discussed with:	brucec@
MFC after:	1 month
This commit is contained in:
Antoine Brodin 2009-09-06 13:31:05 +00:00
parent 1dfbeeaba1
commit bf3f1fe043
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=196891

View File

@ -469,8 +469,8 @@ static struct witness_lock_order_data *w_lofree = NULL;
static struct witness_lock_order_hash w_lohash;
static int w_max_used_index = 0;
static unsigned int w_generation = 0;
static const char *w_notrunning = "Witness not running\n";
static const char *w_stillcold = "Witness is still cold\n";
static const char w_notrunning[] = "Witness not running\n";
static const char w_stillcold[] = "Witness is still cold\n";
static struct witness_order_list_entry order_lists[] = {