qemu-ga: Drop pointless lseek() from ga_open_pidfile()
authorMarkus Armbruster <armbru@redhat.com>
Fri, 11 Jan 2013 10:24:58 +0000 (11:24 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 14 Jan 2013 18:07:37 +0000 (12:07 -0600)
commit5d27f9ce3de424207883d84352d76150e9707394
treea9fe2e137142f4c021b74740cbe9dcd984402936
parentf5b795787864ddde1104a4f7c061dcb0e58e45c0
qemu-ga: Drop pointless lseek() from ga_open_pidfile()

After open(), the file offset is already zero, and neither lockf() nor
ftruncate() change it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/main.c