aboutsummaryrefslogtreecommitdiff
path: root/seatd
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-08-05 23:31:05 +0200
committerKenny Levinsen <kl@kl.wtf>2020-08-05 23:41:55 +0200
commit493cc2a97d8ac32ffc6e96e1cca4d45e15c1828e (patch)
treee610938b5b2d8cba154251b6b48190133e270bef /seatd
parent563a9326598886e03cde94d92f979e68bdad9760 (diff)
log: Remove libseat prefixes
Diffstat (limited to 'seatd')
-rw-r--r--seatd/seatd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/seatd/seatd.c b/seatd/seatd.c
index 7cc7c71..2dba9ba 100644
--- a/seatd/seatd.c
+++ b/seatd/seatd.c
@@ -18,17 +18,17 @@ int main(int argc, char *argv[]) {
(void)argv;
char *loglevel = getenv("SEATD_LOGLEVEL");
- enum libseat_log_level level = LIBSEAT_ERROR;
+ enum log_level level = LOGLEVEL_ERROR;
if (loglevel != NULL) {
if (strcmp(loglevel, "silent") == 0) {
- level = LIBSEAT_SILENT;
+ level = LOGLEVEL_SILENT;
} else if (strcmp(loglevel, "info") == 0) {
- level = LIBSEAT_INFO;
+ level = LOGLEVEL_INFO;
} else if (strcmp(loglevel, "debug") == 0) {
- level = LIBSEAT_DEBUG;
+ level = LOGLEVEL_DEBUG;
}
}
- libseat_log_init(level);
+ log_init(level);
struct server server = {0};
if (server_init(&server) == -1) {