diff options
| author | Brian Somers <brian@FreeBSD.org> | 2006-06-23 01:42:03 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2006-06-23 01:42:03 +0000 |
| commit | 25b5a928f7fe7f8328b2d8edc620f5c64e483d19 (patch) | |
| tree | 9f4f9e554fce5095d1fb866ad98e09ff0b9e8678 | |
| parent | 5943f1a781b17ee5a906774514f0643f74da44fb (diff) | |
Notes
| -rw-r--r-- | lib/libutil/pidfile.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libutil/pidfile.c b/lib/libutil/pidfile.c index cf7441e0d103..fc1516340cf7 100644 --- a/lib/libutil/pidfile.c +++ b/lib/libutil/pidfile.c @@ -46,7 +46,6 @@ static int pidfile_verify(struct pidfh *pfh) { struct stat sb; - int fd; if (pfh == NULL || pfh->pf_fd == -1) return (EDOOFUS); @@ -147,7 +146,6 @@ pidfile_open(const char *path, mode_t mode, pid_t *pidptr) int pidfile_write(struct pidfh *pfh) { - struct stat sb; char pidstr[16]; int error, fd; |
