summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2023-02-05 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2023-02-05 08:00:00 +0000
commit50d490f54b69c275ac26a86a3629433c786942fe (patch)
treebb901fd0f8e1a756f6500c3f9589408dd91a2e10
parent6981dc4608c8f71d77c1ce158e977a5222e85131 (diff)
downloadstrace-50d490f54b69c275ac26a86a3629433c786942fe.tar.gz
src: fix typo in comments
* src/util.c: Replace umovenstr with umovestr in comments.
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index 9487e8f6f..d76d5887c 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1105,7 +1105,7 @@ print_quoted_cstring(const char *str, unsigned int size)
* Print path string specified by address `addr' and length `n'.
* If path length exceeds `n', append `...' to the output.
*
- * Returns the result of umovenstr.
+ * Returns the result of umovestr.
*/
int
printpathn(struct tcb *const tcp, const kernel_ulong_t addr, unsigned int n)
@@ -1152,7 +1152,7 @@ printpath(struct tcb *const tcp, const kernel_ulong_t addr)
* Append `...' to the output if either the string length exceeds `max_strlen',
* or QUOTE_0_TERMINATED bit is set and the string length exceeds `len'.
*
- * Returns the result of umovenstr if style has QUOTE_0_TERMINATED,
+ * Returns the result of umovestr if style has QUOTE_0_TERMINATED,
* or the result of umoven otherwise.
*/
int