summaryrefslogtreecommitdiff
path: root/net-dns/odsclient/files/1.03-gentoo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/odsclient/files/1.03-gentoo.patch')
-rw-r--r--net-dns/odsclient/files/1.03-gentoo.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-dns/odsclient/files/1.03-gentoo.patch b/net-dns/odsclient/files/1.03-gentoo.patch
new file mode 100644
index 000000000000..76f93016a010
--- /dev/null
+++ b/net-dns/odsclient/files/1.03-gentoo.patch
@@ -0,0 +1,21 @@
+--- a/client.c
++++ b/client.c
+@@ -40,7 +40,8 @@
+ ret = getret(s);
+ if(ret == 795 || ret == 796)
+ {
+- fprintf(stderr, "Updated successfully\n");
++ fprintf(stderr, "Updated %s to %s successfully\n",
++ argv[3], ipaddress);
+ mydprintf(s, "QUIT\n");
+ close(s);
+ exit(0);
+@@ -50,7 +51,7 @@
+
+ }
+ }
+- fprintf(stderr, "Unable to update host\n");
++ fprintf(stderr, "Unable to update %s\n", argv[3]);
+ return 1;
+ }
+