summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>2006-04-11 23:10:02 +0000
committerjmg <jmg@FreeBSD.org>2006-04-11 23:10:02 +0000
commita2a4e2db32ae5047795e7c89277940531c760bf3 (patch)
tree321e33f658af5fd35fe071c57f623c015382323e /sys
parent8ecd1bb434632b0dfe8e87337950dea74c4539d0 (diff)
downloadFreeBSD-src-a2a4e2db32ae5047795e7c89277940531c760bf3.zip
FreeBSD-src-a2a4e2db32ae5047795e7c89277940531c760bf3.tar.gz
use pwrite to always write at the begining of the file.. If multiple calls
to pidfile_write happen, the pidfile will have nul characters prepended due to the cached file descriptor offset... Reviewed by: scottl MFC after: 3 days
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud