diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-05-22 00:36:00 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-05-22 00:37:27 +0000 |
commit | eb223862bd19827cc15d74b8af75b8c45a79b4d0 (patch) | |
tree | debaff9ef918b5b62bbc25edddcebe7e146962a3 /src/linux.rs | |
parent | cda01c9df2b90282e814a1c678925215d21aceb3 (diff) | |
download | crosvm-eb223862bd19827cc15d74b8af75b8c45a79b4d0.tar crosvm-eb223862bd19827cc15d74b8af75b8c45a79b4d0.tar.gz crosvm-eb223862bd19827cc15d74b8af75b8c45a79b4d0.tar.bz2 crosvm-eb223862bd19827cc15d74b8af75b8c45a79b4d0.tar.lz crosvm-eb223862bd19827cc15d74b8af75b8c45a79b4d0.tar.xz crosvm-eb223862bd19827cc15d74b8af75b8c45a79b4d0.tar.zst crosvm-eb223862bd19827cc15d74b8af75b8c45a79b4d0.zip |
crosvm: fix file_to_i64 comment
This was missed in 0bf8a5590f3556d8ec05c182cb612f254fd416e5.
Diffstat (limited to 'src/linux.rs')
-rw-r--r-- | src/linux.rs | 2 |
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)? |