]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hexdump: use new colors API
authorKarel Zak <kzak@redhat.com>
Mon, 5 May 2014 14:32:58 +0000 (16:32 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 13 May 2014 10:09:03 +0000 (12:09 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/hexdump-parse.c

index 22e397c918d06843a95253b95f3ead03d8e632e0..37e708611f6e2046cdb54867cd50d205559dd793 100644 (file)
@@ -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)