OS-1840 fmdump shall emit JSON
*** 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 <stdio.h> #include <time.h>
*** 109,115 **** --- 110,119 ---- }, { "TIME CLASS", (fmd_log_rec_f *)err_pretty }, { NULL, NULL + }, { + NULL, + (fmd_log_rec_f *)fmdump_print_json } } };