summaryrefslogtreecommitdiffstats
path: root/tests/functions.sh
diff options
context:
space:
mode:
authorSami Kerola2017-12-03 13:51:17 +0100
committerKarel Zak2017-12-04 13:04:16 +0100
commitcbfa1442761d5b85acd0652f2e7f0e21bf675cd4 (patch)
tree7bb57bb4fd5943a96365b3e33983baceccfe9812 /tests/functions.sh
parentrename: use access(3) to check if a file exists (diff)
downloadkernel-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/functions.sh')
0 files changed, 0 insertions, 0 deletions