diff options
author | Máté Eckl <ecklm94@gmail.com> | 2018-05-17 09:36:59 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-05-17 15:35:22 +0200 |
commit | f3c2492fe00440af05805eed539b1a6f972b64ef (patch) | |
tree | e941d6565aedd78f2b6019828a92a2e4aad9a4a1 /tests/py/ip | |
parent | d8b6b6a05fae1c4d04189b8518d8c6767ac9368c (diff) |
tests: py: print_msg refactor
The errstr attribute was hard-coded to "ERROR:"
errstr has been moved in the parameter list. As print_msg is only
used from the other print_* this is not an issue, and as there is a
print_error function, I don't think that strerr should default to
"ERROR:".
Also this kind of messages now get written to stderr. This can be
beneficial if someone wants to redirect output to a file.
Signed-off-by: Máté Eckl <ecklm94@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/ip')
0 files changed, 0 insertions, 0 deletions