On 8/12/22 10:36, Mateusz Grzonka wrote: > According to POSIX.1-2001, usleep is considered obsolete. > Replace it with a wrapper that uses nanosleep, as recommended in man. > Add handy macros for conversions between msec, usec and nsec. > > Signed-off-by: Mateusz Grzonka <mateusz.grzonka@xxxxxxxxx> > --- > Assemble.c | 2 +- > Grow.c | 4 ++-- > Manage.c | 10 +++++----- > managemon.c | 8 ++++---- > mdadm.h | 4 ++++ > mdmon.c | 4 ++-- > super-intel.c | 6 +++--- > util.c | 42 +++++++++++++++++++++++++++++++++--------- > 8 files changed, 54 insertions(+), 26 deletions(-) > Applied! Thanks, Jes