aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1997-12-11 09:26:05 -0700
committerJeff Law <law@gcc.gnu.org>1997-12-11 09:26:05 -0700
commitb472527b0fdc204489ee647a6752b29b1291317a (patch)
tree14ba3dfecebffb68f2afc7348224d403c74620f6 /gcc/libgcc2.c
parentc4ae3f91a2e59633859532b4e2f62b210f23b3bf (diff)
downloadgcc-b472527b0fdc204489ee647a6752b29b1291317a.zip
gcc-b472527b0fdc204489ee647a6752b29b1291317a.tar.gz
gcc-b472527b0fdc204489ee647a6752b29b1291317a.tar.bz2
Another handful of gcc-2.8 changes (will it ever go out the door?).
See ChangeLog.11 for details. From-SVN: r17040
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index 5a12739..ad51863 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -1531,7 +1531,7 @@ __bb_exit_func (void)
fprintf (stderr, "arc profiling: Error closing output file %s.\n",
ptr->filename);
}
- if ((da_file = fopen (ptr->filename, "w")) < 0)
+ if ((da_file = fopen (ptr->filename, "w")) == 0)
{
fprintf (stderr, "arc profiling: Can't open output file %s.\n",
ptr->filename);