summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2016-02-28 12:42:17 +0000
committerRenato Botelho <garga@FreeBSD.org>2016-02-28 12:42:17 +0000
commita813a312bcd13b186a7aed251c893abd4cbfe10d (patch)
tree9f06043f5956f8588c1cd9b4363bf8f070073afc /net
parentUpdate net/dpinger to 1.10 (diff)
Add a patch forgotten in update to 1.10, it fixes build on 9.x
Notes
Notes: svn path=/head/; revision=409739
Diffstat (limited to 'net')
-rw-r--r--net/dpinger/files/patch-dpinger.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/dpinger/files/patch-dpinger.c b/net/dpinger/files/patch-dpinger.c
new file mode 100644
index 000000000000..e6761ae4a8ef
--- /dev/null
+++ b/net/dpinger/files/patch-dpinger.c
@@ -0,0 +1,20 @@
+--- dpinger.c.orig 2016-02-28 05:29:33 UTC
++++ dpinger.c
+@@ -1018,7 +1018,7 @@ parse_args(
+
+ default:
+ usage();
+- fatal(NULL);
++ exit(EXIT_FAILURE);
+ }
+ }
+
+@@ -1026,7 +1026,7 @@ parse_args(
+ if (argc != optind + 1)
+ {
+ usage();
+- fatal(NULL);
++ exit(EXIT_FAILURE);
+ }
+ dest_arg = argv[optind];
+