summaryrefslogtreecommitdiffstats
path: root/text-utils/ul.c
diff options
context:
space:
mode:
authorKarel Zak2019-04-16 13:47:17 +0200
committerKarel Zak2019-04-16 13:47:17 +0200
commit68224d108d1e5359a111cb2be0404f6556cb90dd (patch)
tree4d956d4d580dd6ceac9e7a23469a914780d115ac /text-utils/ul.c
parentinclude/closestream: add close_stdout_atexit() (diff)
downloadkernel-qcow2-util-linux-68224d108d1e5359a111cb2be0404f6556cb90dd.tar.gz
kernel-qcow2-util-linux-68224d108d1e5359a111cb2be0404f6556cb90dd.tar.xz
kernel-qcow2-util-linux-68224d108d1e5359a111cb2be0404f6556cb90dd.zip
include/c: add print_version() macro
Let's consolidate the version printing code. It also seems better to use exit() after --version, because it's handled in different way by ASAN. It's strange, but ASAN reports leaks after return in main(). Note that we do not use free-before-exit. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/ul.c')
0 files changed, 0 insertions, 0 deletions