From 2532d1d6f9e320ac0924d7d0f94b3d2f524c786e Mon Sep 17 00:00:00 2001 From: jistone Date: Fri, 26 Oct 2007 01:45:21 +0000 Subject: 2007-10-25 Josh Stone PR 5219 * stap.1.in: Add a note about string literal limitations in printf and printd. --- ChangeLog | 6 ++++++ stap.1.in | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 101f0adb..72f8c77b 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 8b23c595..8fd7fec7 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 -- cgit