diff options
author | Sami Kerola | 2017-12-03 13:51:17 +0100 |
---|---|---|
committer | Karel Zak | 2017-12-04 13:04:16 +0100 |
commit | cbfa1442761d5b85acd0652f2e7f0e21bf675cd4 (patch) | |
tree | 7bb57bb4fd5943a96365b3e33983baceccfe9812 /tests/run.sh | |
parent | rename: use access(3) to check if a file exists (diff) | |
download | kernel-qcow2-util-linux-cbfa1442761d5b85acd0652f2e7f0e21bf675cd4.tar.gz kernel-qcow2-util-linux-cbfa1442761d5b85acd0652f2e7f0e21bf675cd4.tar.xz kernel-qcow2-util-linux-cbfa1442761d5b85acd0652f2e7f0e21bf675cd4.zip |
setarch: minor code clean up
Remove global variable, skip unnecessary comparison, and remove version
printing function when a simple printf() can do the job. In same go fix
compiler warning.
sys-utils/setarch.c:296:4: warning: null argument where non-null required
(argument 2) [-Wnonnull]
execl("/bin/bash", NULL);
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/run.sh')
0 files changed, 0 insertions, 0 deletions