diff options
author | Björn Jacke <bj@sernet.de> | 2009-06-03 18:03:36 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2009-06-03 18:06:43 +0200 |
commit | 7cdad30b9640cc876e8ca59cd67455039107a5df (patch) | |
tree | 9a41d23e40e5b8aac75c4ecaf08b35fc3d8fb4dc | |
parent | bfd1f5ddc6022960af669f9d9628fee6a2572b00 (diff) | |
download | samba-7cdad30b9640cc876e8ca59cd67455039107a5df.tar.gz samba-7cdad30b9640cc876e8ca59cd67455039107a5df.tar.bz2 samba-7cdad30b9640cc876e8ca59cd67455039107a5df.zip |
s3: correct check for usleep value boundaries
-rw-r--r-- | source3/lib/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c index d9d3266fbc..9bd231af61 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -94,7 +94,7 @@ int sys_usleep(long usecs) * is not SPEC1170 complient... grumble... JRA. */ - if(usecs < 0 || usecs > 1000000) { + if(usecs < 0 || usecs > 999999) { errno = EINVAL; return -1; } |