From: jistone Date: Fri, 26 Oct 2007 01:45:21 +0000 (+0000) Subject: 2007-10-25 Josh Stone X-Git-Tag: release-0.6~42 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=2532d1d6f9e320ac0924d7d0f94b3d2f524c786e;p=systemtap.git 2007-10-25 Josh Stone PR 5219 * stap.1.in: Add a note about string literal limitations in printf and printd. --- diff --git a/ChangeLog b/ChangeLog index 101f0adb0..72f8c77bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-25 Josh Stone + + PR 5219 + * stap.1.in: Add a note about string literal limitations in printf + and printd. + 2007-10-22 Jim Keniston * runtime/uprobes/uprobes_x86_64.[ch]: Added x86_64 uprobes support diff --git a/stap.1.in b/stap.1.in index 8b23c595d..8fd7fec71 100644 --- a/stap.1.in +++ b/stap.1.in @@ -531,7 +531,8 @@ but also append a newline. .TP .BR printd ", " sprintd Take a string delimiter and two or more values of any type, and print the -values with the delimiter interposed. +values with the delimiter interposed. The delimiter must be a literal +string constant. .TP .BR printdln ", " sprintdln Print values with a delimiter like @@ -540,7 +541,7 @@ but also append a newline. .TP .BR printf ", " sprintf Take a formatting string and a number of values of corresponding types, -and print them all. +and print them all. The format must be a literal string constant. .PP The .IR printf