projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
069610a
)
remove printf stmts
author
Jim Meyering
<jim@meyering.net>
Sat, 27 Nov 1999 20:02:38 +0000
(20:02 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 27 Nov 1999 20:02:38 +0000
(20:02 +0000)
src/sleep.c
patch
|
blob
|
history
diff --git
a/src/sleep.c
b/src/sleep.c
index 7503a5b8f554ad9fa860a472a4759bfbdcc85604..866ad5865a1efde1ee4be3470fa3dae6dfb61a62 100644
(file)
--- a/
src/sleep.c
+++ b/
src/sleep.c
@@
-238,11
+238,8
@@
main (int argc, char **argv)
#endif /* !SA_INTERRUPT */
i_sec = floor (seconds);
- printf ("sleeping for: %d sec\n", i_sec);
- if (i_sec > 0)
- sleep (i_sec);
+ sleep (i_sec);
i_usec = (int) ((seconds - i_sec) * 1000000);
- printf ("u-sleeping for: %d usec\n", i_usec);
usleep (i_usec);
if (!suspended)