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. --- stap.1.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'stap.1.in') 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