We test if ( rlimit64.rlim_cur < minstacksz ) to see whether we failed to increase rlimit64.rlim_max? Weird. Fix it. (Granted, we raise both cur and max together, but it's odd to test one, and report the other). Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> --- common/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/main.c b/common/main.c index 8e7451f..326f801 100644 --- a/common/main.c +++ b/common/main.c @@ -2077,7 +2077,7 @@ set_rlimits( size64_t *vmszp ) ( void )setrlimit64( RLIMIT_STACK, &rlimit64 ); rval = getrlimit64( RLIMIT_STACK, &rlimit64 ); ASSERT( ! rval ); - if ( rlimit64.rlim_cur < minstacksz ) { + if ( rlimit64.rlim_max < minstacksz ) { mlog( MLOG_NORMAL | MLOG_WARNING -- 1.7.1 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs