]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/mbsalign: encode \x to \xecx
authorKarel Zak <kzak@redhat.com>
Wed, 20 Dec 2017 12:01:43 +0000 (13:01 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 20 Dec 2017 12:01:43 +0000 (13:01 +0100)
commit43afa84581de8984aa00ef2e9208198929f72ddf
treeca6b08e1546be3fccbef69d957afcad87b26459a
parent760942e284c5b97bb3b31ad88936a2fed2271274
lib/mbsalign: encode \x to \xecx

Don't encode stand alone '\', our encoding is about \x<hex>, so we
need to care about \x prefix only.

Signed-off-by: Karel Zak <kzak@redhat.com>
lib/mbsalign.c