[PATCH] Fix typo in name of variable in mkdirat syscall probe

Frank Sorenson sorenson@redhat.com
Fri Mar 21 19:24:04 GMT 2025


The 'pathname_unquoted' variable is misspelled as
'pahtname_unquoted'.  Correct the typo.

Signed-off-by: Frank Sorenson <sorenson@redhat.com>
---
 doc/SystemTap_Tapset_Reference/man_pages/tapset::syscalls.3stap | 2 +-
 doc/SystemTap_Tapset_Reference/syscalls.3stap                   | 2 +-
 doc/SystemTap_Tapset_Reference/syscalls.xmlpart                 | 2 +-
 tapset/linux/sysc_mkdirat.stp                                   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/SystemTap_Tapset_Reference/man_pages/tapset::syscalls.3stap b/doc/SystemTap_Tapset_Reference/man_pages/tapset::syscalls.3stap
index 1b640d602..14fc36d52 100644
--- a/doc/SystemTap_Tapset_Reference/man_pages/tapset::syscalls.3stap
+++ b/doc/SystemTap_Tapset_Reference/man_pages/tapset::syscalls.3stap
@@ -723,7 +723,7 @@ mode, pathname, pathname_uaddr, pathname_unquoted
 .P
 .TP
 .B syscall.mkdirat
-dirfd, dirfd_str, mode, pahtname_unquoted, pathname
+dirfd, dirfd_str, mode, pathname_unquoted, pathname
 .P
 .TP
 .B syscall.mknod
diff --git a/doc/SystemTap_Tapset_Reference/syscalls.3stap b/doc/SystemTap_Tapset_Reference/syscalls.3stap
index 1b640d602..14fc36d52 100644
--- a/doc/SystemTap_Tapset_Reference/syscalls.3stap
+++ b/doc/SystemTap_Tapset_Reference/syscalls.3stap
@@ -723,7 +723,7 @@ mode, pathname, pathname_uaddr, pathname_unquoted
 .P
 .TP
 .B syscall.mkdirat
-dirfd, dirfd_str, mode, pahtname_unquoted, pathname
+dirfd, dirfd_str, mode, pathname_unquoted, pathname
 .P
 .TP
 .B syscall.mknod
diff --git a/doc/SystemTap_Tapset_Reference/syscalls.xmlpart b/doc/SystemTap_Tapset_Reference/syscalls.xmlpart
index 7976e7dbb..691ef3e23 100644
--- a/doc/SystemTap_Tapset_Reference/syscalls.xmlpart
+++ b/doc/SystemTap_Tapset_Reference/syscalls.xmlpart
@@ -908,7 +908,7 @@ same convenience variables.
 <row><entry>
     mkdirat
 </entry><entry>
-    dirfd, dirfd_str, mode, pahtname_unquoted, pathname
+    dirfd, dirfd_str, mode, pathname_unquoted, pathname
 </entry></row>
 <row><entry>
     mknod
diff --git a/tapset/linux/sysc_mkdirat.stp b/tapset/linux/sysc_mkdirat.stp
index 9a2f1fdac..2c0b05887 100644
--- a/tapset/linux/sysc_mkdirat.stp
+++ b/tapset/linux/sysc_mkdirat.stp
@@ -17,7 +17,7 @@
 	dirfd = int_arg(1)
 	dirfd_str = _dfd_str(dirfd)
 	pathname = user_string_quoted(pointer_arg(2))
-	pahtname_unquoted = user_string_nofault(pointer_arg(2))
+	pathname_unquoted = user_string_nofault(pointer_arg(2))
 	mode = uint_arg(3)
 %)
 
-- 
2.48.1



More information about the Systemtap mailing list