aboutsummaryrefslogtreecommitdiffstats
path: root/lib/log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/log.cc')
-rw-r--r--lib/log.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/log.cc b/lib/log.cc
index fada4f5..6735fea 100644
--- a/lib/log.cc
+++ b/lib/log.cc
@@ -22,13 +22,14 @@
*
*/
#include "log.h"
+
#include <unistd.h>
-logbuf::logbuf(int level, int fd) {
+logbuf::logbuf(int loglevel, int fd) {
ptr = buf;
len = 0;
_on = true;
- _level = level;
+ _level = loglevel;
_fd = fd;
}