summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2010-07-12 15:19:17 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2010-07-13 21:16:57 +0400
commit69ce75076cc1b9bfc4d5b9a8bd8a7a5809e5a812 (patch)
tree8f2dcdf7cd47c8398e659bc0424edffdf654378f
parentfed61a547f9c370223a6502200ff2c95373aa312 (diff)
downloadnasm-69ce75076cc1b9bfc4d5b9a8bd8a7a5809e5a812.tar.gz
No need for \n at __OUTPUT_FORMAT__ macro end
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--nasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasm.c b/nasm.c
index 18548a8c..9a8c1e5d 100644
--- a/nasm.c
+++ b/nasm.c
@@ -261,7 +261,7 @@ static void define_macros_late(void)
{
char temp[128];
- snprintf(temp, sizeof(temp), "__OUTPUT_FORMAT__=%s\n",
+ snprintf(temp, sizeof(temp), "__OUTPUT_FORMAT__=%s",
ofmt->shortname);
pp_pre_define(temp);
}