aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2018-03-04 13:27:21 +0000
committerAndriy Gapon <avg@FreeBSD.org>2018-03-04 13:27:21 +0000
commit3761bead4a0d9a563af4eaf999b0c792b1b2d58b (patch)
tree25918ebb7376a37988cba4d2f1fe57c3afbd6475 /sys/ddb
parentd132d4ca6097af24707d8535c885450c7fc75f99 (diff)
Notes
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ddb/db_script.c b/sys/ddb/db_script.c
index 92e5b20ab2a1e..38b22d137587b 100644
--- a/sys/ddb/db_script.c
+++ b/sys/ddb/db_script.c
@@ -296,7 +296,7 @@ db_script_exec(const char *scriptname, int warnifnotfound)
buffer = drd->drd_buffer;
strcpy(buffer, dsp->ds_script);
while ((command = strsep(&buffer, ";")) != NULL) {
- db_printf("db:%d:%s> %s\n", db_recursion, scriptname,
+ db_printf("db:%d:%s> %s\n", db_recursion, dsp->ds_scriptname,
command);
db_command_trim(&command);
prev_jb = kdb_jmpbuf(jb);