aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/limits
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2013-10-31 08:58:32 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2013-10-31 08:58:32 +0000
commitde111151f502fe9940ab27133bebf4683f20ba24 (patch)
treec5039512e9d79864327b2afcf8582939c84095a1 /usr.bin/limits
parent83bce6073af1032003d5b6bb8c814336bb5f2337 (diff)
downloadsrc-de111151f502fe9940ab27133bebf4683f20ba24.tar.gz
src-de111151f502fe9940ab27133bebf4683f20ba24.zip
Notes
Diffstat (limited to 'usr.bin/limits')
-rw-r--r--usr.bin/limits/limits.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/limits/limits.c b/usr.bin/limits/limits.c
index 3b2cf6d2884c..3a192e3f5755 100644
--- a/usr.bin/limits/limits.c
+++ b/usr.bin/limits/limits.c
@@ -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);
}