After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685172 - log errno on statvfs failure
log errno on statvfs failure
Status: RESOLVED FIXED
Product: libgtop
Classification: Core
Component: linux
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libgtop maintainers
libgtop maintainers
Depends on:
Blocks: 684346
 
 
Reported: 2012-10-01 00:25 UTC by Robert Roth
Modified: 2013-12-08 23:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Robert Roth 2012-10-01 00:25:44 UTC
On line 196 of fs_usage.c from linux[1], in case of a statvfs error (-1 returned), glibtop logs an error message that statvfs failed, but it should also specify errno to give the user a clue on what's wrong and how to fix the issue (if possible).

[1]http://git.gnome.org/browse/libgtop/tree/sysdeps/linux/fsusage.c#n196
Comment 1 Robert Roth 2013-12-08 23:58:56 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.