Skip to content

Commit 813b511

Browse files
committed
randutil: fix panic message
Signed-off-by: Ian Johnson <[email protected]>
1 parent b618667 commit 813b511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: randutil/crypto.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func CryptoToken(nbytes int) (string, error) {
5555
func RandomKernelUUID() string {
5656
b, err := ioutil.ReadFile("/proc/sys/kernel/random/uuid")
5757
if err != nil {
58-
panic("cannot read kernel uuid")
58+
panic("cannot read kernel generated uuid")
5959
}
6060
return strings.TrimSpace(string(b))
6161
}

0 commit comments

Comments
 (0)