]> Pileus Git - ~andy/linux/blobdiff - scripts/basic/fixdep.c
[PATCH] PA-RISC: Fix bogus warnings from modpost
[~andy/linux] / scripts / basic / fixdep.c
index 679124b11e12645b088877fbee8d3d6e901cb24e..668a11a8b383ce4a35bd98daf5720ef0da9a2077 100644 (file)
@@ -132,20 +132,10 @@ void usage(void)
 
 /*
  * Print out the commandline prefixed with cmd_<target filename> :=
- * If commandline contains '#' escape with '\' so make to not see
- * the '#' as a start-of-comment symbol
- **/
+ */
 void print_cmdline(void)
 {
-       char *p = cmdline;
-
-       printf("cmd_%s := ", target);
-       for (; *p; p++) {
-               if (*p == '#')
-                       printf("\\");
-               printf("%c", *p);
-       }
-       printf("\n\n");
+       printf("cmd_%s := %s\n\n", target, cmdline);
 }
 
 char * str_config  = NULL;