Skip to content

Commit 6cae7ae

Browse files
committed
Cosmetic
1 parent 43219a7 commit 6cae7ae

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

devstate.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ func LoadDevState(ident, comment string) *DevState {
5959

6060
// LoadUsedPorts loads ports used by some of devices.
6161
//
62-
// The returned map contains one entry per used port. Value of this
63-
// entry is a human-readable string, reasonable for logging
62+
// The returned map contains one entry per used port. The presence
63+
// of entry indicates that port is in use. The associated value is
64+
// the human-readable string, that explains who uses the port. This
65+
// string is suitable for logging purposes.
6466
func LoadUsedPorts() (ports map[int]string) {
6567
ports = make(map[int]string)
6668

0 commit comments

Comments
 (0)