summaryrefslogtreecommitdiff
path: root/outform.c
diff options
context:
space:
mode:
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);