[CRIU] [PATCH] crtools: replace option numbers by symbols

Kinsbursky Stanislav skinsbursky at openvz.org
Thu Jul 26 07:00:11 EDT 2012


Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>

---
 crtools.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/crtools.c b/crtools.c
index d59934f..6faf421 100644
--- a/crtools.c
+++ b/crtools.c
@@ -142,11 +142,11 @@ int main(int argc, char *argv[])
 					log_level++;
 			}
 			break;
-		case 42:
+		case '*':
 			pr_info("Will dump TCP connections\n");
 			opts.tcp_established_ok = true;
 			break;
-		case 43: {
+		case '+': {
 			int fd;
 
 			fd = atoi(optarg);
@@ -154,7 +154,7 @@ int main(int argc, char *argv[])
 			close(fd);
 			break;
 		}
-		case 44:
+		case ',':
 			opts.log_file_per_pid = 1;
 			break;
 		case 'V':



More information about the CRIU mailing list