fixes
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 24 Dec 2010 08:41:27 +0000 (09:41 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 24 Dec 2010 08:41:27 +0000 (09:41 +0100)
src/staptrace.c

index 73a7811..74282fc 100644 (file)
@@ -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);
        }
     }