Commit b295c0a0 authored by Bruce Momjian's avatar Bruce Momjian

Clean up function call arg appearance.

parent cfcdd31c
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* *
* Copyright (c) 2001-2003, PostgreSQL Global Development Group * Copyright (c) 2001-2003, PostgreSQL Global Development Group
* *
* $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.63 2004/03/27 17:32:42 momjian Exp $ * $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.64 2004/03/27 17:59:35 momjian Exp $
* ---------- * ----------
*/ */
#include "postgres.h" #include "postgres.h"
...@@ -1728,9 +1728,8 @@ pgstat_mainChild(PGSTAT_FORK_ARGS) ...@@ -1728,9 +1728,8 @@ pgstat_mainChild(PGSTAT_FORK_ARGS)
while (nread < targetlen) while (nread < targetlen)
{ {
len = piperead(readPipe, len = piperead(readPipe, ((char *) &msg) + nread,
((char *) &msg) + nread, targetlen - nread);
targetlen - nread);
if (len < 0) if (len < 0)
{ {
if (errno == EINTR) if (errno == EINTR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment