summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2013-02-15 12:22:59 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2013-02-15 12:22:59 +0400
commit45aa118fdfb9955ed431431d8d1179bd36054f10 (patch)
treeeec202b8f40d60ade33a2ea57bdfe672c0b6b6a1 /nasm.c
parentf831645ed8dac3bb545876d19e631c5c789181ca (diff)
downloadnasm-45aa118fdfb9955ed431431d8d1179bd36054f10.tar.gz
nasm-45aa118fdfb9955ed431431d8d1179bd36054f10.tar.bz2
nasm-45aa118fdfb9955ed431431d8d1179bd36054f10.zip
nasm.c: Tabs to spaces in copy_filename
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'nasm.c')
-rw-r--r--nasm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nasm.c b/nasm.c
index ffdec47..89dd07e 100644
--- a/nasm.c
+++ b/nasm.c
@@ -522,8 +522,8 @@ static void copy_filename(char *dst, const char *src)
size_t len = strlen(src);
if (len >= (size_t)FILENAME_MAX) {
- nasm_error(ERR_FATAL | ERR_NOFILE, "file name too long");
- return;
+ nasm_error(ERR_FATAL | ERR_NOFILE, "file name too long");
+ return;
}
strncpy(dst, src, FILENAME_MAX);
}