diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-07-28 23:27:11 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-07-29 19:01:34 +0400 |
commit | 16cbf9b5c24437e83362da988e5a49fd458ae6c6 (patch) | |
tree | 41e432d5ef215adcaeb31a85f0aea1badff681cf | |
parent | fd90ef56aeb83d445b62f21fbaba802037424775 (diff) | |
download | nasm-16cbf9b5c24437e83362da988e5a49fd458ae6c6.tar.gz |
nasmlib.c: fix typo in nasm_init_malloc_error
Typo happened in 9b603082 so -DLOGALLOC gets broken.
Not that important since this is a developer oriented
feature but should be fixed anyway.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r-- | nasmlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,7 +93,7 @@ void nasm_init_malloc_error(void) if (logfp) { setvbuf(logfp, NULL, _IOLBF, BUFSIZ); } else { - nasm_error(ERR_NONFATAL | ERR_NOFILE, "Unable to open %s", file); + nasm_error(ERR_NONFATAL | ERR_NOFILE, "Unable to open %s", logfp); logfp = stderr; } fprintf(logfp, "null pointer is %p\n", NULL); |