aboutsummaryrefslogtreecommitdiff
path: root/internal/ensurefds012/ensurefds012.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-08-23 11:04:22 +0200
committerJakob Unterwurzacher2021-08-23 11:04:22 +0200
commitc9abfc8f06e1e0ce8e8b7ca480507647572a5df7 (patch)
tree952a777ac7e396bf09b953e9c008766b8816cc4b /internal/ensurefds012/ensurefds012.go
parentb603169d2ccd47013d46bfcb33c1c105342cff95 (diff)
ensurefds012: package comment should preceded package statement
This makes the comment visible to godoc.
Diffstat (limited to 'internal/ensurefds012/ensurefds012.go')
-rw-r--r--internal/ensurefds012/ensurefds012.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/ensurefds012/ensurefds012.go b/internal/ensurefds012/ensurefds012.go
index 7872eb2..4e772c6 100644
--- a/internal/ensurefds012/ensurefds012.go
+++ b/internal/ensurefds012/ensurefds012.go
@@ -1,5 +1,3 @@
-package ensurefds012
-
// Package ensurefds012 ensures that file descriptors 0,1,2 are open. It opens
// multiple copies of /dev/null as required.
// The Go stdlib as well as the gocryptfs code rely on the fact that
@@ -28,6 +26,7 @@ package ensurefds012
// lrwx------. 1 jakob jakob 64 Jan 5 15:54 4 -> 'anon_inode:[eventpoll]'
//
// See https://github.com/rfjakob/gocryptfs/issues/320 for details.
+package ensurefds012
import (
"os"