Module Name:    src
Committed By:   mrg
Date:           Tue Jun 21 09:35:23 UTC 2011

Modified Files:
        src/lib/librmt: rmtlib.c

Log Message:
add a missing " to a string literal in some #if'd out code that GCC 4.5 found.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/librmt/rmtlib.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/librmt/rmtlib.c
diff -u src/lib/librmt/rmtlib.c:1.24 src/lib/librmt/rmtlib.c:1.25
--- src/lib/librmt/rmtlib.c:1.24	Tue May 31 12:24:33 2011
+++ src/lib/librmt/rmtlib.c	Tue Jun 21 09:35:23 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: rmtlib.c,v 1.24 2011/05/31 12:24:33 christos Exp $	*/
+/*	$NetBSD: rmtlib.c,v 1.25 2011/06/21 09:35:23 mrg Exp $	*/
 
 /*
  *	rmt --- remote tape emulator subroutines
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: rmtlib.c,v 1.24 2011/05/31 12:24:33 christos Exp $");
+__RCSID("$NetBSD: rmtlib.c,v 1.25 2011/06/21 09:35:23 mrg Exp $");
 
 #define RMTIOCTL	1
 /* #define USE_REXEC	1 */	/* rexec code courtesy of Dan Kegel, srs!dan */
@@ -224,7 +224,7 @@
 
 	rexecserv = getservbyname("exec", "tcp");
 	if (rexecserv == NULL)
-		errx(1, exec/tcp: service not available.");
+		errx(1, "exec/tcp: service not available.");
 	if ((user != NULL) && *user == '\0')
 		user = NULL;
 	return rexec(&host, rexecserv->s_port, user, NULL,

Reply via email to