Date: Thu, 31 Oct 2013 08:58:32 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r257427 - head/usr.bin/limits Message-ID: <201310310858.r9V8wWnV005670@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Thu Oct 31 08:58:32 2013 New Revision: 257427 URL: http://svnweb.freebsd.org/changeset/base/257427 Log: The limit for the swap space is spelled 'swapsize', at least since tcsh 6.17.00 import. Submitted by: Stefan Neudorf PR: bin/183480 MFC after: 1 week Modified: head/usr.bin/limits/limits.c Modified: head/usr.bin/limits/limits.c ============================================================================== --- head/usr.bin/limits/limits.c Thu Oct 31 08:22:29 2013 (r257426) +++ head/usr.bin/limits/limits.c Thu Oct 31 08:58:32 2013 (r257427) @@ -248,7 +248,7 @@ static struct { * to be modified accordingly! */ -#define RCS_STRING "tfdscmlunbvpw" +#define RCS_STRING "tfdscmlunbvpwk" static rlim_t resource_num(int which, int ch, const char *str); static void usage(void); @@ -287,7 +287,7 @@ main(int argc, char *argv[]) pid = -1; optarg = NULL; - while ((ch = getopt(argc, argv, ":EeC:U:BSHP:ab:c:d:f:l:m:n:s:t:u:v:p:w:")) != -1) { + while ((ch = getopt(argc, argv, ":EeC:U:BSHP:ab:c:d:f:l:m:n:s:t:u:v:p:w:k:")) != -1) { switch(ch) { case 'a': doall = 1; @@ -544,7 +544,7 @@ usage(void) { (void)fprintf(stderr, "usage: limits [-C class|-P pid|-U user] [-eaSHBE] " - "[-bcdflmnstuvpw [val]] [[name=val ...] cmd]\n"); + "[-bcdflmnstuvpwk [val]] [[name=val ...] cmd]\n"); exit(EXIT_FAILURE); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310310858.r9V8wWnV005670>