[Nut-upsdev] Default format for HID debugging (was Re: [Nut-upsuser] Liebert PSP)

Arjen de Korte nut+devel at de-korte.org
Mon Sep 20 06:25:50 UTC 2010


Citeren Charles Lepple <clepple op gmail.com>:

> Any objections to changing the default format string in these debug  
> messages from %f to %g? I know it's nice to have a constant-width  
> output format, but the Type string is variable-length, and in this  
> case, we had a value hiding just outside the precision of the printf  
> output.

No objections. We just might want to double check if this also  
requires changes to 'path-to-subdriver.sh' (but I don't think this is  
needed). Other than that, there should be no compatibility issues.

Best regards, Arjen
-- 
Please keep list traffic on the list (off-list replies will be rejected)




More information about the Nut-upsdev mailing list