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/2847220fa2b7
branches: trunk
changeset: 340760:2847220fa2b7
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 feec5b5655e9 -r 2847220fa2b7 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