From 10b3099c05493f3bce2e917ec967a68defea86f1 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 24 Dec 2010 09:41:27 +0100 Subject: [PATCH] fixes --- src/staptrace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/staptrace.c b/src/staptrace.c index 73a7811..74282fc 100644 --- a/src/staptrace.c +++ b/src/staptrace.c @@ -10,7 +10,8 @@ #error "STAP_SCRIPT_FILENAME is required" #endif -#define STRINGIFY(lit) #lit +#define STRINGIFY1(lit) #lit +#define STRINGIFY(lit) STRINGIFY1 (lit) #define _(x) gettext (x) static int opt_d, opt_f, opt_q, opt_p; @@ -104,7 +105,6 @@ main (int argc, char **argv) case 'h': usage (EXIT_SUCCESS); default: - error (0, 0, _("Invalid option '%c'"), i); usage (EXIT_FAILURE); } } -- 1.8.3.1