diff options
| author | Luuk Paulussen <[email protected]> | 2011-05-16 18:27:11 +0000 |
|---|---|---|
| committer | Wolfgang Denk <[email protected]> | 2011-06-01 22:35:09 +0200 |
| commit | d6840e3d7abb71c2a45c3788dcc6edf7feb1d303 (patch) | |
| tree | 48b8cf1f0ee07eac9a71c366e7d173cb42233b4e /include | |
| parent | bd0d19cc5f346ff6504d47497ec799e066168b96 (diff) | |
sntp: avoid use of uninitialized variable
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 <[email protected]>
Acked-by: Chris Packham <[email protected]>
Cc: Ben Warren <[email protected]>
Acked-by: Detlev Zundel <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
