diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2000-07-14 13:56:07 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2000-07-14 13:56:07 +0000 |
commit | 02e9e6640f1fd27daee4d0d33cd959887ee5f25a (patch) | |
tree | 062b531900ac47b1f670b6c0694e4079bb986595 /lib/libutil/login_class.c | |
parent | 863dc9acc434da687d7b40dc08c2f51a907a55d3 (diff) | |
download | FreeBSD-src-02e9e6640f1fd27daee4d0d33cd959887ee5f25a.zip FreeBSD-src-02e9e6640f1fd27daee4d0d33cd959887ee5f25a.tar.gz |
Make sbsize a size instead of a number. This allows the usual suffixes
to be applied to the value given. This does not break installed
/etc/login.conf files, since un-suffixed numbers are interpreted as
they were before.
PR: 19750
Submitted by: Paul Herman <pherman@frenchfries.net>
Diffstat (limited to 'lib/libutil/login_class.c')
-rw-r--r-- | lib/libutil/login_class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libutil/login_class.c b/lib/libutil/login_class.c index 478d9b2..36c5c50 100644 --- a/lib/libutil/login_class.c +++ b/lib/libutil/login_class.c @@ -55,7 +55,7 @@ static struct login_res { { "maxproc", login_getcapnum, RLIMIT_NPROC }, { "openfiles", login_getcapnum, RLIMIT_NOFILE }, { "coredumpsize", login_getcapsize, RLIMIT_CORE }, - { "sbsize", login_getcapnum, RLIMIT_SBSIZE }, + { "sbsize", login_getcapsize, RLIMIT_SBSIZE }, { NULL, 0, 0 } }; |