style: Rename TabEntry#Id to Device
This commit is contained in:
parent
1eb77e513e
commit
8650c833bf
1 changed files with 2 additions and 2 deletions
|
@ -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],
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue