summary refs log tree commit diff
path: root/src/linux.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux.rs')
-rw-r--r--src/linux.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux.rs b/src/linux.rs
index e480a4c..574493d 100644
--- a/src/linux.rs
+++ b/src/linux.rs
@@ -1566,7 +1566,7 @@ fn file_fields_to_i64<P: AsRef<Path>>(path: P) -> io::Result<Vec<i64>> {
         .collect()
 }
 
-// Reads the contents of a file and converts them into a u64, and if there
+// Reads the contents of a file and converts them into a i64, and if there
 // are multiple fields it only returns the first one.
 fn file_to_i64<P: AsRef<Path>>(path: P) -> io::Result<i64> {
     file_fields_to_i64(path)?