Division by zero :-)
This commit is contained in:
@ -470,7 +470,8 @@ static void logmanager_print_profs(void)
|
|||||||
prof_writebuf_init,
|
prof_writebuf_init,
|
||||||
prof_writebuf_done,
|
prof_writebuf_done,
|
||||||
prof_freelist_get,
|
prof_freelist_get,
|
||||||
(int)(prof_freelist_get*100)/prof_writebuf_init,
|
(prof_writebuf_init == 0 ? 0 :
|
||||||
|
(int)(prof_freelist_get*100)/prof_writebuf_init),
|
||||||
prof_writebuf_count);
|
prof_writebuf_count);
|
||||||
}
|
}
|
||||||
#endif /* SS_PROF */
|
#endif /* SS_PROF */
|
||||||
|
Reference in New Issue
Block a user