gdebug.c: gdbg_set_file() fixes.
This commit is contained in:
@@ -484,9 +484,10 @@ gdbg_set_file(const char *name)
|
||||
{
|
||||
outf = fopen(name,"w"); // open up a new one
|
||||
if (outf) gdbg_msgfile = outf;
|
||||
return (outf != NULL);
|
||||
}
|
||||
|
||||
return (outf != NULL);
|
||||
return 1;
|
||||
#else /* #ifndef KERNEL */
|
||||
return 0;
|
||||
#endif /* #ifndef KERNEL */
|
||||
|
||||
@@ -484,9 +484,10 @@ gdbg_set_file(const char *name)
|
||||
{
|
||||
outf = fopen(name,"w"); // open up a new one
|
||||
if (outf) gdbg_msgfile = outf;
|
||||
return (outf != NULL);
|
||||
}
|
||||
|
||||
return (outf != NULL);
|
||||
return 1;
|
||||
#else /* #ifndef KERNEL */
|
||||
return 0;
|
||||
#endif /* #ifndef KERNEL */
|
||||
|
||||
@@ -565,9 +565,10 @@ gdbg_set_file(const char *name)
|
||||
{
|
||||
outf = fopen(name,"w"); // open up a new one
|
||||
if (outf) gdbg_msgfile = outf;
|
||||
return (outf != NULL);
|
||||
}
|
||||
|
||||
return (outf != NULL);
|
||||
return 1;
|
||||
#else /* #ifndef KERNEL */
|
||||
return 0;
|
||||
#endif /* #ifndef KERNEL */
|
||||
|
||||
Reference in New Issue
Block a user