summaryrefslogtreecommitdiff
path: root/outform.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-04-30 20:52:26 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-04-30 20:52:26 +0000
commit6768eb71d8debde65562619c938b997aea1bd9f9 (patch)
tree93fc4f4a6d66891ace9494b737aa4b2c1bed37ef /outform.c
parentd7ed89eac9580f280fe0017b22c8e38ca75ed8e3 (diff)
downloadnasm-6768eb71d8debde65562619c938b997aea1bd9f9.tar.gz
nasm-6768eb71d8debde65562619c938b997aea1bd9f9.tar.bz2
nasm-6768eb71d8debde65562619c938b997aea1bd9f9.zip
NASM 0.95
Diffstat (limited to 'outform.c')
-rw-r--r--outform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/outform.c b/outform.c
index 154c63f..09202de 100644
--- a/outform.c
+++ b/outform.c
@@ -27,11 +27,11 @@ struct ofmt *ofmt_find(char *name) /* find driver */
return NULL;
}
-void ofmt_list(struct ofmt *deffmt)
+void ofmt_list(struct ofmt *deffmt, FILE *fp)
{
int i;
for (i=0; i<ndrivers; i++)
- fprintf(stderr," %c %-7s%s\n",
+ fprintf(fp, " %c %-7s%s\n",
drivers[i] == deffmt ? '*' : ' ',
drivers[i]->shortname,
drivers[i]->fullname);