diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-01-30 17:13:52 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-02-06 23:43:46 +0100 |
commit | 2e3de288a69e5556f2fe2d095da67c64cf7c9ec3 (patch) | |
tree | c4a86676d13fabd3278434798a66b2a21a5387c4 /hdlcutil/usersmdiag.h | |
parent | 6f3c1ec5b5e202d45bff3a3dd8206dd89c129555 (diff) |
rsmemsiz: Fix warning and add error check to getuptime call.
rsmemsiz.c: In function ‘main’:
rsmemsiz.c:139:11: warning: ‘uptime_secs’ may be used uninitialized in this function [-Wmaybe-uninitialized]
updays = (int) uptime_secs / (60*60*24);
^~~~~~~~~~~~~~~~~
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'hdlcutil/usersmdiag.h')
0 files changed, 0 insertions, 0 deletions