diff --git a/src/util/virnetdev.c b/src/util/virnetdev.c index a551f9820b..fc9ec1e4b8 100644 --- a/src/util/virnetdev.c +++ b/src/util/virnetdev.c @@ -1891,7 +1891,7 @@ virNetDevGetLinkInfo(const char *ifname, if (virNetDevSysfsFile(&path, ifname, "speed") < 0) goto cleanup; - if (virFileReadAll(path, 1024, &buf) < 0) { + if (virFileReadAllQuiet(path, 1024, &buf) < 0) { /* Some devices doesn't report speed, in which case we get EINVAL */ if (errno == EINVAL) { ret = 0;