aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil++/libutil++.hh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libutil++/libutil++.hh')
-rw-r--r--lib/libutil++/libutil++.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil++/libutil++.hh b/lib/libutil++/libutil++.hh
index ecf737f2fcb0..60e6b3fc5fde 100644
--- a/lib/libutil++/libutil++.hh
+++ b/lib/libutil++/libutil++.hh
@@ -70,7 +70,7 @@ namespace freebsd {
class fd_up {
public:
fd_up() : fd(-1) {}
- fd_up(int fd) : fd(fd) {}
+ fd_up(int _fd) : fd(_fd) {}
fd_up(fd_up &&other) : fd(other.release()) {}
fd_up(fd_up const &) = delete;
@@ -159,7 +159,7 @@ namespace freebsd {
class pidfile {
public:
pidfile() = default;
- pidfile(struct pidfh *pfh) : pfh(pfh) {}
+ pidfile(struct pidfh *_pfh) : pfh(_pfh) {}
pidfile(pidfile &&other) : pfh(other.release()) {}
pidfile(pidfile const &) = delete;