Skip to content

Commit

Permalink
A little error in the documentation of dce.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerrigan29a authored Aug 12, 2017
1 parent 281f560 commit 3e2a039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dce.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ func NewDCESecurity(domain Domain, id uint32) (UUID, error) {
// NewDCEPerson returns a DCE Security (Version 2) UUID in the person
// domain with the id returned by os.Getuid.
//
// NewDCEPerson(Person, uint32(os.Getuid()))
// NewDCESecurity(Person, uint32(os.Getuid()))
func NewDCEPerson() (UUID, error) {
return NewDCESecurity(Person, uint32(os.Getuid()))
}

// NewDCEGroup returns a DCE Security (Version 2) UUID in the group
// domain with the id returned by os.Getgid.
//
// NewDCEGroup(Group, uint32(os.Getgid()))
// NewDCESecurity(Group, uint32(os.Getgid()))
func NewDCEGroup() (UUID, error) {
return NewDCESecurity(Group, uint32(os.Getgid()))
}
Expand Down

0 comments on commit 3e2a039

Please sign in to comment.