diff options
author | Franck Bui <fbui@suse.com> | 2018-04-18 18:32:21 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-04-18 18:32:21 +0200 |
commit | 80359410c4056ffa9113837cebac8bdfde3f3ac2 (patch) | |
tree | a6b09971e307c1bb9b8bbc4b2b4507b7c9041d08 /tools/make-man-rules.py | |
parent | 613bddf7d1140be34569a68b49eda7415e67e070 (diff) | |
download | systemd-80359410c4056ffa9113837cebac8bdfde3f3ac2.tar.gz |
sysusers: make sure to reset the returned value when EOF is reached in fget*ent_sane() wrappers (#8737)
To indicate that the there're no more entries, these wrappers return false but
did leave the passed pointed unmodified.
However EOF is not an error and is a very common case so initialize the output
argument to NULL even in this case so callers don't need to do that.
Fixes: #8721
Diffstat (limited to 'tools/make-man-rules.py')
0 files changed, 0 insertions, 0 deletions