From c6495103a2ee2a16dab88c762659e14af44995bb Mon Sep 17 00:00:00 2001 From: Christoph Wurm Date: Mon, 28 Jan 2019 11:33:10 +0000 Subject: [PATCH] Correct type for all UtType values. --- x-pack/auditbeat/module/system/login/utmp_c.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/x-pack/auditbeat/module/system/login/utmp_c.go b/x-pack/auditbeat/module/system/login/utmp_c.go index 2df19edc5477..804683acd539 100644 --- a/x-pack/auditbeat/module/system/login/utmp_c.go +++ b/x-pack/auditbeat/module/system/login/utmp_c.go @@ -35,15 +35,15 @@ type UtType int16 // Possible values for UtType. const ( EMPTY UtType = 0 - RUN_LVL = 1 - BOOT_TIME = 2 - NEW_TIME = 3 - OLD_TIME = 4 - INIT_PROCESS = 5 - LOGIN_PROCESS = 6 - USER_PROCESS = 7 - DEAD_PROCESS = 8 - ACCOUNTING = 9 + RUN_LVL UtType = 1 + BOOT_TIME UtType = 2 + NEW_TIME UtType = 3 + OLD_TIME UtType = 4 + INIT_PROCESS UtType = 5 + LOGIN_PROCESS UtType = 6 + USER_PROCESS UtType = 7 + DEAD_PROCESS UtType = 8 + ACCOUNTING UtType = 9 UT_LINESIZE = 32 UT_NAMESIZE = 32