diff options
Diffstat (limited to 'rdoff')
-rw-r--r-- | rdoff/ldrdf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rdoff/ldrdf.c b/rdoff/ldrdf.c index 046139b..d137f16 100644 --- a/rdoff/ldrdf.c +++ b/rdoff/ldrdf.c @@ -37,6 +37,7 @@ #include "collectn.h" #include "rdlib.h" #include "segtab.h" +#include "nasmlib.h" #define LDRDF_VERSION "1.07" @@ -1119,7 +1120,7 @@ void write_output(const char *filename) fwrite(outputseg[i].data, outputseg[i].length, 1, f); } - fwrite("\0\0\0\0\0\0\0\0\0\0", 10, 1, f); + fwritezero(10, f); } /* ========================================================================= |