aboutsummaryrefslogtreecommitdiff
path: root/comms/remserial/files/patch-remserial.c
blob: a776f3897fb01872bf79793ae8f197921abf28ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./remserial.c.orig	2011-01-05 10:31:12.000000000 +0100
+++ ./remserial.c	2011-01-05 10:31:12.000000000 +0100
@@ -34,6 +34,8 @@
 #include <netinet/in.h>
 #include <netdb.h>
 
+#include "define.h"
+
 struct sockaddr_in addr,remoteaddr;
 int sockfd = -1;
 int port = 23000;
@@ -417,7 +419,7 @@
 }
 
 void usage(char *progname) {
-	printf("Remserial version 1.3.  Usage:\n");
+	printf("Remserial version %s.  Usage:\n", VERSION);
 	printf("remserial [-r machinename] [-p netport] [-s \"stty params\"] [-m maxconnect] device\n\n");
 
 	printf("-r machinename		The remote machine name to connect to.  If not\n");