Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/lib/libdtrace/common return an erro...
details: https://anonhg.NetBSD.org/src/rev/dad3f3798f72
branches: trunk
changeset: 810902:dad3f3798f72
user: christos <christos%NetBSD.org@localhost>
date: Tue Sep 29 14:31:22 2015 +0000
description:
return an error for actions we don't understand.
diffstat:
external/cddl/osnet/dist/lib/libdtrace/common/dt_consume.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r bf5e5ee2c6b2 -r dad3f3798f72 external/cddl/osnet/dist/lib/libdtrace/common/dt_consume.c
--- a/external/cddl/osnet/dist/lib/libdtrace/common/dt_consume.c Tue Sep 29 14:27:00 2015 +0000
+++ b/external/cddl/osnet/dist/lib/libdtrace/common/dt_consume.c Tue Sep 29 14:31:22 2015 +0000
@@ -2674,6 +2674,8 @@
case DTRACEACT_FREOPEN:
func = dtrace_freopen;
break;
+ default:
+ return (dt_set_errno(dtp, EDT_BADAGG));
}
n = (*func)(dtp, fp, fmtdata, &data,
Home |
Main Index |
Thread Index |
Old Index