summaryrefslogtreecommitdiff
path: root/ext/node/ops
diff options
context:
space:
mode:
authorwelfuture <167498261+welfuture@users.noreply.github.com>2024-04-21 07:54:07 +0800
committerGitHub <noreply@github.com>2024-04-21 01:54:07 +0200
commite55087f57af657069090f63517ec776d8958e410 (patch)
treecd627d6d56ffc6118fd83d56945a3b11764bcfaa /ext/node/ops
parentdb3b3fb665bba7a063e038907efbc0a14d863d63 (diff)
fix: Fix some typos in comments (#23470)
Signed-off-by: welfuture <wellfuture@qq.com>
Diffstat (limited to 'ext/node/ops')
-rw-r--r--ext/node/ops/os/cpus.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/ops/os/cpus.rs b/ext/node/ops/os/cpus.rs
index bf83f7e7d..2e3d2a954 100644
--- a/ext/node/ops/os/cpus.rs
+++ b/ext/node/ops/os/cpus.rs
@@ -240,7 +240,7 @@ pub fn cpu_info() -> Option<Vec<CpuInfo>> {
pub fn cpu_info() -> Option<Vec<CpuInfo>> {
use std::io::BufRead;
- let mut cpus = vec![CpuInfo::new(); 8192]; /* Kernel maxmimum */
+ let mut cpus = vec![CpuInfo::new(); 8192]; /* Kernel maximum */
let fp = std::fs::File::open("/proc/stat").ok()?;
let reader = std::io::BufReader::new(fp);