Package: numad / 0.5+20150602-7

cf6c2c029edc9c288122bcd603a72eb7f6d042d2.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From cf6c2c029edc9c288122bcd603a72eb7f6d042d2 Mon Sep 17 00:00:00 2001
From: Jan Synacek <jsynacek@redhat.com>
Date: Oct 30 2017 10:37:45 +0000
Subject: recognize -m option correctly


---

diff --git a/numad.c b/numad.c
index 4c85486..0721af4 100644
--- a/numad.c
+++ b/numad.c
@@ -2395,7 +2395,7 @@ int main(int argc, char *argv[]) {
     int x_flag = 0;
     int tmp_int = 0;
     long list_pid = 0;
-    while ((opt = getopt(argc, argv, "C:dD:hH:i:K:l:p:r:R:S:t:u:vVw:x:")) != -1) {
+    while ((opt = getopt(argc, argv, "C:dD:hH:i:K:l:m:p:r:R:S:t:u:vVw:x:")) != -1) {
         switch (opt) {
         case 'C':
             C_flag = 1;