HIS_MAX_RECORD_LEN
static char history_str[HIS_MAX_RECORD_LEN];
static char history_str[HIS_MAX_RECORD_LEN];
static char cmdstr[HIS_MAX_RECORD_LEN];
kmem_free(buf, HIS_MAX_RECORD_LEN);
buf = kmem_alloc(HIS_MAX_RECORD_LEN, KM_SLEEP);
buf, HIS_MAX_RECORD_LEN, NULL) != 0) {
buf[HIS_MAX_RECORD_LEN -1] = '\0';