Changeset a78cdcd in mainline for uspace/app/bdsh/exec.c

Timestamp:
2019-05-19T14:56:33Z (5 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
967e7a1
Parents:
aeeaf0f
git-author:
Jakub Jermar <jakub@…> (2019-05-19 14:50:47)
git-committer:
Jakub Jermar <jakub@…> (2019-05-19 14:56:33)
Message:

Avoid division by zero when time difference is 0

Sometimes, especially under emulation, the CPU is much faster than the
PIT so that the computed time difference is zero. Adjust to the nearest
possible non-zero value to avoid division by zero.

(No files)

Note: See TracChangeset for help on using the changeset viewer.