summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump-parse.c
diff options
context:
space:
mode:
authorKarel Zak2014-05-05 16:32:58 +0200
committerKarel Zak2014-05-13 12:09:03 +0200
commit58ce71e63e0ea807a6fbb2a0e7328f666845fdc0 (patch)
treeec97f2bd909bd31bc52e56d5549f8707d99402e1 /text-utils/hexdump-parse.c
parentlibsmartcols: use new colors API (diff)
downloadkernel-qcow2-util-linux-58ce71e63e0ea807a6fbb2a0e7328f666845fdc0.tar.gz
kernel-qcow2-util-linux-58ce71e63e0ea807a6fbb2a0e7328f666845fdc0.tar.xz
kernel-qcow2-util-linux-58ce71e63e0ea807a6fbb2a0e7328f666845fdc0.zip
hexdump: use new colors API
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/hexdump-parse.c')
-rw-r--r--text-utils/hexdump-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/hexdump-parse.c b/text-utils/hexdump-parse.c
index 22e397c91..37e708611 100644
--- a/text-utils/hexdump-parse.c
+++ b/text-utils/hexdump-parse.c
@@ -496,7 +496,7 @@ static struct list_head *color_fmt(char *cfmt, int bcnt)
clr = xstrndup(cfmt, strcspn(cfmt, ":@,"));
cfmt += strlen(clr);
- hcnext->fmt = colorscheme_from_string(clr);
+ hcnext->fmt = color_sequence_from_colorname(clr);
free(clr);
if (!hcnext->fmt)