Hi,

On Fri, May 30, 2008 at 09:25:59AM +0200, Arjen de Korte wrote:
> >> No, just remove (or comment out) the call to upsdrv_cleanup() in the
> >> reconnect_ups() function and rebuild the driver. I suspect that this
> >> will solve the problem.
> >
> > This didn't seem to solve the problem (still got a segfault).  Any other
> > ideas?
> 
> It looks like upsdrv_cleanup() is called in other locations in this driver
> too (which is wrong). Remove (or comment out) all these. The only time
> this function needs to be called is when the driver exits, but there is no
> need to do that in the driver code since this will be handled by main.c
> anyway.

Okay, this seems to have solved my problem.  I believe that everything is back
to normal.

Thanks,
Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to