← Commit list

acff3733b

Denys Vlasenko
Denys Vlasenko
2011-07-08
FAILED Duration: 221s

Subject

usleep: do not check for usleep error, it should never fail

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/usleep.c+1 -3
@@ -29,9 +29,7 @@ int usleep_main(int argc UNUSED_PARAM, char **argv)
bb_show_usage();
}
- if (usleep(xatou(argv[1]))) {
- bb_perror_nomsg_and_die();
- }
+ usleep(xatou(argv[1]));
return EXIT_SUCCESS;
}