summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorpaul <paul@FreeBSD.org>2001-06-04 04:22:57 +0000
committerpaul <paul@FreeBSD.org>2001-06-04 04:22:57 +0000
commitdc5b94d7317d778719fc58ce4c37482ee24f10b7 (patch)
treefdad5e11984efad9c8c605e7bff9fa4e779c5a2d /usr.bin
parent7f9e5322905b494d6f28f9afbc36e58c55ddd46a (diff)
downloadFreeBSD-src-dc5b94d7317d778719fc58ce4c37482ee24f10b7.zip
FreeBSD-src-dc5b94d7317d778719fc58ce4c37482ee24f10b7.tar.gz
You can't free a string and then use it as the error message to
errx. Instead use warn to print the string, then cleanup and exit normally. This fixes a core dump if the executable to be run doesn't exist.
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud