diff options
author | Robert Mustacchi <rm@joyent.com> | 2015-07-07 21:17:05 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2015-07-07 21:28:52 +0000 |
commit | 3a9fa1cfd05aadf5a37b44d84b0a0737c939b03c (patch) | |
tree | 69075e4eb05b43fcbc599ea8d0e22f042b46fb88 | |
parent | d765b29be84c3cf70b8c5ff8b950feeddb343c7c (diff) | |
download | illumos-joyent-3a9fa1cfd05aadf5a37b44d84b0a0737c939b03c.tar.gz |
OS-4491 ::printf should increment dot
-rw-r--r-- | usr/src/cmd/mdb/common/mdb/mdb_print.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/cmd/mdb/common/mdb/mdb_print.c b/usr/src/cmd/mdb/common/mdb/mdb_print.c index 3be869c2c0..263b157f65 100644 --- a/usr/src/cmd/mdb/common/mdb/mdb_print.c +++ b/usr/src/cmd/mdb/common/mdb/mdb_print.c @@ -25,7 +25,7 @@ /* * Copyright (c) 2012, 2014 by Delphix. All rights reserved. - * Copyright (c) 2012 Joyent, Inc. All rights reserved. + * Copyright 2015 Joyent, Inc. * Copyright (c) 2014 Nexenta Systems, Inc. All rights reserved. */ @@ -3102,6 +3102,7 @@ cmd_printf(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) } mdb_printf("%s", last); + mdb_set_dot(addr + mdb_ctf_type_size(id)); return (DCMD_OK); } |