[libc-commits] [libc] [libc][NFC] fix typo (PR #86540)
Alan Zhao via libc-commits
libc-commits at lists.llvm.org
Mon Mar 25 10:30:43 PDT 2024
https://github.com/alanzhao1 created https://github.com/llvm/llvm-project/pull/86540
None
>From 7c865d4ad24cd80374e6f4fcc9c0e92ade735aa8 Mon Sep 17 00:00:00 2001
From: Alan Zhao <ayzhao at google.com>
Date: Mon, 25 Mar 2024 10:29:55 -0700
Subject: [PATCH] [libc][NFC] fix typo
---
libc/src/__support/File/file.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libc/src/__support/File/file.h b/libc/src/__support/File/file.h
index 2ea3843749ffe4..eafd3ab7d9107b 100644
--- a/libc/src/__support/File/file.h
+++ b/libc/src/__support/File/file.h
@@ -76,7 +76,7 @@ class File {
private:
enum class FileOp : uint8_t { NONE, READ, WRITE, SEEK };
- // Platfrom specific functions which create new file objects should initialize
+ // Platform specific functions which create new file objects should initialize
// these fields suitably via the constructor. Typically, they should be simple
// syscall wrappers for the corresponding functionality.
WriteFunc *platform_write;
@@ -299,7 +299,7 @@ class File {
}
};
-// The implementaiton of this function is provided by the platfrom_file
+// The implementaiton of this function is provided by the platform_file
// library.
ErrorOr<File *> openfile(const char *path, const char *mode);
More information about the libc-commits
mailing list