summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-11-30 17:03:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-12-07 10:08:16 +0100
commit6503eb21c6043b74a4a92d9b92057cbf45b6f313 (patch)
treed1a5927055058b734cd3e2b40d86b343d88e9436 /Kbuild
parent70f6dd77051de4f72d0a96f44f4dbc68faae0fc6 (diff)
downloadbarebox-6503eb21c6043b74a4a92d9b92057cbf45b6f313.tar.gz
barebox-6503eb21c6043b74a4a92d9b92057cbf45b6f313.tar.xz
scripts/kwboot: Fix normalizing timeval
If tv.tv_usec is 1000000 the structure needs normalizing, too. So the right check would be: if (tv.tv_usec >= 1000000) { ... But as normalizing doesn't destroy anything even for smaller values, just do it unconditionally to simplify a bit. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.barebox.org/20211130160308.316863-1-u.kleine-koenig@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions