Skip to content

Commit d89a8d2

Browse files
fuweidqiutongs
authored andcommitted
pkg/failpoint: add FreeBSD link and update pkg doc
Signed-off-by: Wei Fu <[email protected]> (cherry picked from commit cbebeb9) Signed-off-by: Qiutong Song <[email protected]>
1 parent b0ce296 commit d89a8d2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pkg/failpoint/fail.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
limitations under the License.
1515
*/
1616

17+
// Package failpoint provides the code point in the path, which can be controlled
18+
// by user's variable.
19+
//
20+
// Inspired by FreeBSD fail(9): https://freebsd.org/cgi/man.cgi?query=fail.
1721
package failpoint
1822

1923
import (
@@ -80,7 +84,7 @@ func (t Type) String() string {
8084
// be evaluated. If you want the error injected code should fire in second
8185
// call, you can specify "1*off->1*error(oops)".
8286
//
83-
// Based on fail(9) freebsd: https://www.freebsd.org/cgi/man.cgi?query=fail&sektion=9&apropos=0&manpath=FreeBSD%2B10.0-RELEASE
87+
// Inspired by FreeBSD fail(9): https://freebsd.org/cgi/man.cgi?query=fail.
8488
type Failpoint struct {
8589
sync.Mutex
8690

0 commit comments

Comments
 (0)