diff options
author | gibbs <gibbs@FreeBSD.org> | 2003-01-20 18:01:37 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 2003-01-20 18:01:37 +0000 |
commit | 6726f4815718de5d151ba97f66ec3fb4098cff75 (patch) | |
tree | 73a80ba20d2201e81d046176582e2142516318f8 /sys/dev/aic7xxx | |
parent | 8115ffde7ce352b87825c2f2e533b17173eae3e5 (diff) | |
download | FreeBSD-src-6726f4815718de5d151ba97f66ec3fb4098cff75.zip FreeBSD-src-6726f4815718de5d151ba97f66ec3fb4098cff75.tar.gz |
Fix the last reference to the reg_print.c file handle
in symtable_dump. This allows the assembler to operate
without generating this file.
Diffstat (limited to 'sys/dev/aic7xxx')
-rw-r--r-- | sys/dev/aic7xxx/aicasm/aicasm_symbol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/aicasm/aicasm_symbol.c b/sys/dev/aic7xxx/aicasm/aicasm_symbol.c index 2e766b8..f1f448d 100644 --- a/sys/dev/aic7xxx/aicasm/aicasm_symbol.c +++ b/sys/dev/aic7xxx/aicasm/aicasm_symbol.c @@ -37,7 +37,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGES. * - * $Id: //depot/aic7xxx/aic7xxx/aicasm/aicasm_symbol.c#23 $ + * $Id: //depot/aic7xxx/aic7xxx/aicasm/aicasm_symbol.c#24 $ * * $FreeBSD$ */ @@ -546,7 +546,7 @@ symtable_dump(FILE *ofile, FILE *dfile) if (num_entries == 0) aic_print_reg_dump_start(dfile, curnode); - else + else if (dfile != NULL) fputs(",\n", dfile); num_entries++; aic_print_reg_dump_entry(dfile, fieldnode); |