Print this page
10121 smatch fix for auditstat

*** 21,30 **** --- 21,34 ---- /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ + /* + * Copyright (c) 2018, Joyent, Inc. + */ + #include "statcommon.h" #include <sys/types.h> #include <stdlib.h> #include <ctype.h>
*** 116,127 **** return (0); } static void ! display_stats(s, cnt) ! au_stat_t *s; { int offset[12]; /* used to line the header up correctly */ char buf[512]; (void) sprintf(buf, --- 120,130 ---- return (0); } static void ! display_stats(au_stat_t *s, int cnt) { int offset[12]; /* used to line the header up correctly */ char buf[512]; (void) sprintf(buf,