network: update comment and log message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 26 Apr 2021 00:03:33 +0000 (09:03 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 15 May 2021 17:46:56 +0000 (19:46 +0200)
commit0d80d62a87862f46f62c6c17ad6d682ad6228049
treed21cfcb29d3cbbdd718f0aa215015825900d486d
parent42a2588608242bc9b4a9e9bc4a4b758050473196
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.

(cherry picked from commit 0e27527170aa0179f2a4b3b55b78ddc049f815b9)
(cherry picked from commit 2417e9b59aa654e4b3def3399576ebbc2cdd7c95)
src/network/networkd-link.c