style: Rename TabEntry#Id to Device

This commit is contained in:
ptrcnull 2021-11-29 22:11:48 +01:00
parent 1eb77e513e
commit 8650c833bf

View file

@ -31,7 +31,7 @@ var ActionMap = map[string]Action{
} }
type TabEntry struct { type TabEntry struct {
Id string Device string
Action Action Action Action
Process string Process string
} }
@ -68,7 +68,7 @@ func ParseInittab(reader io.Reader) []TabEntry {
} }
res = append(res, TabEntry{ res = append(res, TabEntry{
Id: tokens[0], Device: tokens[0],
Action: action, Action: action,
Process: tokens[3], Process: tokens[3],
}) })