summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ndisasm.c2
-rw-r--r--output/outieee.c2
-rw-r--r--rdoff/rdflib.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/ndisasm.c b/ndisasm.c
index 8c924b9..710d1f0 100644
--- a/ndisasm.c
+++ b/ndisasm.c
@@ -112,7 +112,7 @@ int main(int argc, char **argv)
p++;
break;
case 'h':
- fprintf(stderr, help);
+ fputs(help, stderr);
return 0;
case 'r':
case 'v':
diff --git a/output/outieee.c b/output/outieee.c
index ffdd5d6..e3245f5 100644
--- a/output/outieee.c
+++ b/output/outieee.c
@@ -1152,7 +1152,7 @@ static void ieee_putascii(char *format, ...)
if ((uint8_t)buffer[i] > 31)
checksum += buffer[i];
va_end(ap);
- fprintf(ofile, buffer);
+ fputs(buffer, ofile);
}
/*
diff --git a/rdoff/rdflib.c b/rdoff/rdflib.c
index e12c6c6..1213bea 100644
--- a/rdoff/rdflib.c
+++ b/rdoff/rdflib.c
@@ -166,7 +166,7 @@ int main(int argc, char **argv)
if (argc < 3 || !strncmp(argv[1], "-h", 2)
|| !strncmp(argv[1], "--h", 3)) {
- printf(usage);
+ fputs(usage, stdout);
exit(1);
}