From 8650c833bfa976ee889b7b77082e5633c397e2d1 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Mon, 29 Nov 2021 22:11:48 +0100 Subject: [PATCH] style: Rename TabEntry#Id to Device --- inittab.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inittab.go b/inittab.go index 311fa9e..91f6473 100644 --- a/inittab.go +++ b/inittab.go @@ -31,7 +31,7 @@ var ActionMap = map[string]Action{ } type TabEntry struct { - Id string + Device string Action Action Process string } @@ -68,7 +68,7 @@ func ParseInittab(reader io.Reader) []TabEntry { } res = append(res, TabEntry{ - Id: tokens[0], + Device: tokens[0], Action: action, Process: tokens[3], })