]> git.ipfire.org Git - thirdparty/hostap.git/commit
wpa_passphrase: Output errors to stderr
authorSam Tygier <samtygier@yahoo.co.uk>
Mon, 23 Dec 2019 15:20:20 +0000 (15:20 +0000)
committerJouni Malinen <j@w1.fi>
Tue, 24 Dec 2019 09:14:27 +0000 (11:14 +0200)
commit32289112c40ba3f6d0b3c04263654d6223055e22
tree4edde4b2a1b8faecabee0e12ac6a362505131373
parentce1598d4c2b0f5cd925aab1a199f9da82361c1dd
wpa_passphrase: Output errors to stderr

The stdout of wpa_passphrase is often piped directly into the
wpa_supplicant config file. In case of errors these will be written to
the file and possibly not noticed by the user.

Use fprintf to print errors to stderr.

Signed-off-by: Sam Tygier <samtygier@yahoo.co.uk>
wpa_supplicant/wpa_passphrase.c