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>
Thu, 6 May 2021 12:51:08 +0000 (14:51 +0200)
commit2417e9b59aa654e4b3def3399576ebbc2cdd7c95
tree823a4f48e678c0f9a53d6b70f3fb1124a96c5247
parentf5ea4ced2e4fb61bc2940b1b82540bb87e3fa0c9
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)
src/network/networkd-link.c