Print this page
10120 smatch indenting fixes for usr/src/cmd
Reviewed by: Gergő Doma <domag02@gmail.com>
Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>

*** 22,31 **** --- 22,35 ---- /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ + /* + * Copyright (c) 2018, Joyent, Inc. + */ + #include <sys/types.h> #include <sys/sysmacros.h> #include <sys/dditypes.h> #include <sys/ddi_impldefs.h> #include <sys/ddipropdefs.h>
*** 375,386 **** if (!(flags & DCMD_ADDRSPEC)) { if (mdb_walk_dcmd("ldi_handle", "ldi_handle", argc, argv) == -1) { mdb_warn("can't walk ldi handles"); return (DCMD_ERR); - } return (DCMD_OK); } /* display the header line */ if (DCMD_HDRSPEC(flags)) ldi_handle_header(refs, ident); --- 379,391 ---- if (!(flags & DCMD_ADDRSPEC)) { if (mdb_walk_dcmd("ldi_handle", "ldi_handle", argc, argv) == -1) { mdb_warn("can't walk ldi handles"); return (DCMD_ERR); } + return (DCMD_OK); + } /* display the header line */ if (DCMD_HDRSPEC(flags)) ldi_handle_header(refs, ident);