git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util-vserver 0.30.215.
[util-vserver.git]
/
src
/
vsched.c
diff --git
a/src/vsched.c
b/src/vsched.c
index
e3a6db5
..
96dbe6d
100644
(file)
--- a/
src/vsched.c
+++ b/
src/vsched.c
@@
-1,4
+1,4
@@
-// $Id: vsched.c 2
510 2007-03-07 20:33:56
Z dhozac $ --*- c -*--
+// $Id: vsched.c 2
637 2007-11-26 23:47:41
Z dhozac $ --*- c -*--
// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
// Copyright (C) 2006 Daniel Hokka Zakrisson <daniel@hozac.com>
// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
// Copyright (C) 2006 Daniel Hokka Zakrisson <daniel@hozac.com>
@@
-183,7
+183,7
@@
static void do_dir_entry(struct vc_set_sched *sched, const char *name)
if (!isNumber(buf, &val, true)) {
WRITE_MSG(2, ENSC_WRAPPERS_PREFIX);
WRITE_STR(2, name);
if (!isNumber(buf, &val, true)) {
WRITE_MSG(2, ENSC_WRAPPERS_PREFIX);
WRITE_STR(2, name);
- WRITE_MSG(2, ": is not a
numb
er\n");
+ WRITE_MSG(2, ": is not a
n integ
er\n");
exit(1);
}
exit(1);
}
@@
-244,7
+244,7
@@
static void do_dir(xid_t xid, struct vc_set_sched *sched, const char *dir, int m
#define SETVAL(ATTR,MASK) \
if (!isNumber(optarg, &tmp, false)) { \
#define SETVAL(ATTR,MASK) \
if (!isNumber(optarg, &tmp, false)) { \
- WRITE_MSG(2, ENSC_WRAPPERS_PREFIX "non-
numeric
value specified for '--" #ATTR "'\n"); \
+ WRITE_MSG(2, ENSC_WRAPPERS_PREFIX "non-
integer
value specified for '--" #ATTR "'\n"); \
exit(wrapper_exit_code); \
} \
else { \
exit(wrapper_exit_code); \
} \
else { \