diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2003-11-11 04:54:11 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2003-11-11 04:54:11 +0000 |
commit | edc6e45a502293aa39b79b2c501cd8181cf6531f (patch) | |
tree | 2cf151883941d217d7ab4391b00638f652a5ad61 /lib/libc | |
parent | 148f9321bdca1579bf115d36c0a7186f9e84b42e (diff) | |
download | FreeBSD-src-edc6e45a502293aa39b79b2c501cd8181cf6531f.zip FreeBSD-src-edc6e45a502293aa39b79b2c501cd8181cf6531f.tar.gz |
Have utrace(2) return ENOMEM if malloc() fails. Document this error
return in its manual page.
Reviewed by: jhb
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/utrace.2 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/sys/utrace.2 b/lib/libc/sys/utrace.2 index ca81672..64bef2a 100644 --- a/lib/libc/sys/utrace.2 +++ b/lib/libc/sys/utrace.2 @@ -65,15 +65,17 @@ Otherwise, a value of -1 is returned and is set to indicate the error. .Sh ERRORS .Bl -tag -width Er -.It Bq Er ENOSYS -Currently running kernel was compiled without -.Xr ktrace 2 -support (option KTRACE). .It Bq Er EINVAL Specified data length .Fa len was bigger than .Dv KTR_USER_MAXLEN . +.It Bq Er ENOMEM +Insufficient memory to honor the request. +.It Bq Er ENOSYS +Currently running kernel was compiled without +.Xr ktrace 2 +support (option KTRACE). .El .Sh SEE ALSO .Xr kdump 1 , |