X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=group.go;h=4741171fcfcbb2fdd36d108b586cd59baac13348;hb=886b911524a2f14bd7fc76e5a7478e0cfb2fc14d;hp=b96f6b14aa4c779cc59c1ebc4498c96a5fefcdb2;hpb=bfa96c6bded3a8a4edab666f12429b0659e30ad2;p=nsscash%2Fnsscash.git diff --git a/group.go b/group.go index b96f6b1..4741171 100644 --- a/group.go +++ b/group.go @@ -23,10 +23,10 @@ import ( "encoding/binary" "fmt" "io" + "math" "sort" "strconv" "strings" - "math" "github.com/pkg/errors" ) @@ -194,7 +194,7 @@ func SerializeGroups(w io.Writer, grs []Group) error { tmp := make([]byte, 8) // Create index "sorted" in input order, used when iterating over all - // passwd entries (getgrent_r); keeping the original order makes + // group entries (getgrent_r); keeping the original order makes // debugging easier var indexOrig bytes.Buffer for _, g := range grs {