Re: [U-Boot] [PATCHv2] sntp: avoid use of uninitialized variable

2011-05-17 Thread Detlev Zundel
Hi Chris, From: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz When we use the ntpserverip environment variable argv[1] may not be set. Printing the error message using the NetNtpServerIP variable ensures the correct output in both cases. Signed-off-by: Luuk Paulussen

[U-Boot] [PATCHv2] sntp: avoid use of uninitialized variable

2011-05-16 Thread Chris Packham
From: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz When we use the ntpserverip environment variable argv[1] may not be set. Printing the error message using the NetNtpServerIP variable ensures the correct output in both cases. Signed-off-by: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz