systat - fix bug in vmmeter when switching to it via ':pv'.
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 6 Jun 2009 21:22:30 +0000 (14:22 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 6 Jun 2009 21:22:30 +0000 (14:22 -0700)
commita37888c929b1be5e472597048dd0ee2e395aca65
treec6e9df4eb0e3f4e7a715ea4b7aea3729f5d6dcb9
parentbd8847bbba9daa9f85dde99250c821e5731830f0
systat - fix bug in vmmeter when switching to it via ':pv'.

If systat is started with something and then switched to vmmeter via ':pv'
vmmeter failed to display.  Fixing the return value for the init function
solves the problem.
usr.bin/systat/vmmeter.c