summaryrefslogtreecommitdiff
path: root/os/log.c
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2010-10-25 01:30:33 +0400
committerMikhail Gusarov <dottedmag@dottedmag.net>2010-10-25 03:35:56 +0400
commit44e81654147065b7b907ce0d14fdc2e74a638f79 (patch)
tree12aef85d221b33ccbd7bd3d2426883f89635de22 /os/log.c
parent433dddcf29d257310e95e4215dceef8b0b976e2d (diff)
Remove now-misleading comment
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'os/log.c')
-rw-r--r--os/log.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/os/log.c b/os/log.c
index d18f9b3aa..76b6b84a1 100644
--- a/os/log.c
+++ b/os/log.c
@@ -177,7 +177,6 @@ LogInit(const char *fname, const char *backup)
char *logFileName = NULL;
if (fname && *fname) {
- /* malloc() can't be used yet. */
logFileName = malloc(strlen(fname) + strlen(display) + 1);
if (!logFileName)
FatalError("Cannot allocate space for the log file name\n");