diff options
author | Mimi Zohar | 2021-11-24 12:38:00 +0530 |
---|---|---|
committer | Mimi Zohar | 2021-12-31 13:16:02 -0500 |
commit | cef5cd25a453805237f0c4e789218d987d674290 (patch) | |
tree | 608a2bf7e88470ef9c458a60c230cbd432daf908 /init/do_mounts.h | |
parent | 92ad19559ea9a8ec6f158480934ae26ebfe2c14f (diff) |
selftest/kexec: fix "ignored null byte in input" warning
Instead of assigning the string to a variable, which might contain a
null character, redirect the output and grep for the string directly.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'init/do_mounts.h')
0 files changed, 0 insertions, 0 deletions