network: update comment and log message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 26 Apr 2021 00:03:33 +0000 (09:03 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 26 Apr 2021 09:08:41 +0000 (10:08 +0100)
commit0e27527170aa0179f2a4b3b55b78ddc049f815b9
treee2184399ae905a912d83b72d84fcae789f2e615d
parentbb35478bf9a81171e76a31916531d18576d4bca6
network: update comment and log message

After 4b30f2e135ee84041bb597edca7225858f4ef4fb, reading stable_secret
sysctl property fails with -ENOMEM, instead of -EIO.
This is due to read_full_virtual_file() uses read() as the backend while
read_one_line_file() uses fgetc(). And each functions return different
error on fails.

Anyway, the failure is harmless here. So, the log message and comment is
updated.

Closes one of the issues in #19410.
src/network/networkd-link.c