Module Name: src Committed By: pgoyette Date: Mon Mar 25 23:43:57 UTC 2019
Modified Files: src/usr.sbin/srtconfig: srtconfig.c Log Message: Fix open() error message - use a colon rather than a semicolon to match the other error messages To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/srtconfig/srtconfig.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/srtconfig/srtconfig.c diff -u src/usr.sbin/srtconfig/srtconfig.c:1.4 src/usr.sbin/srtconfig/srtconfig.c:1.5 --- src/usr.sbin/srtconfig/srtconfig.c:1.4 Thu May 4 16:26:09 2017 +++ src/usr.sbin/srtconfig/srtconfig.c Mon Mar 25 23:43:56 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: srtconfig.c,v 1.4 2017/05/04 16:26:09 sevan Exp $ */ +/* $NetBSD: srtconfig.c,v 1.5 2019/03/25 23:43:56 pgoyette Exp $ */ /* This file is in the public domain. */ #include <stdio.h> @@ -99,7 +99,7 @@ static void open_dev(int how) } devfd = open(txt_dev,how,0); if (devfd < 0) - { fprintf(stderr,"%s; can't open %s: %s\n",__progname,txt_dev,strerror(errno)); + { fprintf(stderr,"%s: can't open %s: %s\n",__progname,txt_dev,strerror(errno)); exit(1); } }