Skip to content

Commit

Permalink
fix a tiny comment niggle
Browse files Browse the repository at this point in the history
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Suggested-by: Nick Alcock <nick.alcock@oracle.com>
Reviewed-by: Eugene Loh <eugene.loh@oracle.com>
  • Loading branch information
kvanhees committed Sep 11, 2023
1 parent fb1ce05 commit 540739e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions libdtrace/dt_open.c
Original file line number Diff line number Diff line change
Expand Up @@ -770,12 +770,7 @@ dt_vopen(int version, int flags, int *errp,
for (i = 0; i < DTRACEOPT_MAX; i++)
dtp->dt_options[i] = DTRACEOPT_UNSET;

/* FIXME: the default value of strsize must be set.
* In legacy DTrace, the value was read from the kernel
* in dt_options_load(). When string handling is done,
* we will introduce a real solution suitable for this
* version. For now, just set it here.
*/
/* Set the default maximum string size. */
dtp->dt_options[DTRACEOPT_STRSIZE] = 256;

/* Set the default dynamic variable space size. */
Expand Down

0 comments on commit 540739e

Please sign in to comment.