daemon: Suppress valgrind warnings from read_pidfile().
authorBen Pfaff <blp@nicira.com>
Tue, 1 Feb 2011 19:24:51 +0000 (11:24 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 3 Feb 2011 22:56:33 +0000 (14:56 -0800)
commite7668254f2f8f7208905c858ffbc84a65bb13815
treef61d4f3585c6fbbfa7f10851ee5052445d910321
parent535d6987a7af3bef33bf2db21b52bb81e3ea64ee
daemon: Suppress valgrind warnings from read_pidfile().

The version of valgrind I have in my test VMs doesn't know what F_GETLK
does, so it complains that l_pid is uninitialized even though fcntl sets
it.  Initializing it ourselves before calling the function avoids a series
of false-positive warnings about use of uninitialized data.
lib/daemon.c