Skip to content
Snippets Groups Projects
Commit 7bd49ad1 authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

kallsyms: fix escaping of NUL char in strings


The current kallsyms code is using \\0 to escape the backslash in the awk
code, but the shell too needs escaping.  This way we make sure gcc is
passed the \0.  Then gcc itself will consume this as an octal, so we have
to use 000 so gcc will create the final NUL.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 3672cd5c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment