Print this page
OS-1840 fmdump shall emit JSON
Reviewed by: Robert Mustacchi <rm@joyent.com>

*** 18,27 **** --- 18,28 ---- * * CDDL HEADER END */ /* * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, Joyent, Inc. All rights reserved. */ #include <fmdump.h> #include <strings.h> #include <stdio.h>
*** 142,148 **** --- 143,152 ---- }, { "TIME UUID STATE", (fmd_log_rec_f *)asru_pretty }, { NULL, NULL + }, { + NULL, + (fmd_log_rec_f *)fmdump_print_json } } };