This is an automated email from the ASF dual-hosted git repository.

wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new 12466029 butil: fix 'sucess' -> 'success' typos in process_util.h 
comments (#3272)
12466029 is described below

commit 124660290811e29f0eaad64c86c1110cf408d075
Author: Sai Asish Y <[email protected]>
AuthorDate: Wed Apr 15 20:54:03 2026 -0700

    butil: fix 'sucess' -> 'success' typos in process_util.h comments (#3272)
    
    Doc comments in src/butil/process_util.h read 'on sucess' (lines 31, 36). 
Fixed to 'on success'. Comment-only change.
    
    Signed-off-by: SAY-5 <[email protected]>
    Co-authored-by: SAY-5 <[email protected]>
---
 src/butil/process_util.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/butil/process_util.h b/src/butil/process_util.h
index 5493e263..c6e8ab55 100644
--- a/src/butil/process_util.h
+++ b/src/butil/process_util.h
@@ -28,12 +28,12 @@ namespace butil {
 
 // Read command line of this program. If `with_args' is true, args are
 // included and separated with spaces.
-// Returns length of the command line on sucess, -1 otherwise.
+// Returns length of the command line on success, -1 otherwise.
 // NOTE: `buf' does not end with zero.
 ssize_t ReadCommandLine(char* buf, size_t len, bool with_args);
 
 // Get absolute path of this program.
-// Returns length of the absolute path on sucess, -1 otherwise.
+// Returns length of the absolute path on success, -1 otherwise.
 // NOTE: `buf' does not end with zero.
 ssize_t GetProcessAbsolutePath(char* buf, size_t len);
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to