Signed-off-by: Dave Reisner <dreisner@xxxxxxxxxxxxx> --- sys-utils/lscpu.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index 72b56d2..0a7841d 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -363,9 +363,9 @@ read_basicinfo(struct lscpu_desc *desc, struct lscpu_modifier *mod) if (desc->flags) { snprintf(buf, sizeof(buf), " %s ", desc->flags); if (strstr(buf, " svm ")) - desc->virtflag = strdup("svm"); + desc->virtflag = xstrdup("svm"); else if (strstr(buf, " vmx ")) - desc->virtflag = strdup("vmx"); + desc->virtflag = xstrdup("vmx"); if (strstr(buf, " lm ")) desc->mode |= MODE_32BIT | MODE_64BIT; /* x86_64 */ if (strstr(buf, " zarch ")) -- 1.7.8 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html