diff options
| author | Jim Meyering <jim@meyering.net> | 1999-12-19 15:51:32 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 1999-12-19 15:51:32 +0000 |
| commit | 7769c416efa7026dad54d14c7cf2e6460ae49475 (patch) | |
| tree | 73c4c7181f54ed36e88d5d7653c1bf0af3b2bfa6 /src/sleep.c | |
| parent | tweak comment (diff) | |
| download | coreutils-7769c416efa7026dad54d14c7cf2e6460ae49475.tar.gz coreutils-7769c416efa7026dad54d14c7cf2e6460ae49475.zip | |
tweak comment
Diffstat (limited to 'src/sleep.c')
| -rw-r--r-- | src/sleep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sleep.c b/src/sleep.c index 583413320..ec64098be 100644 --- a/src/sleep.c +++ b/src/sleep.c @@ -165,8 +165,8 @@ main (int argc, char **argv) if (fail) usage (1); - /* Round to the nearest nanosecond here so that tv_nsec will be - no larger than 999,999,999. */ + /* Add this here so we end up rounding to the nearest nanosecond. + This ensures that that tv_nsec will be no larger than 999,999,999. */ seconds += .0000000005; /* Separate whole seconds from nanoseconds. */ |
