Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/srtconfig Fix open() error message - use a colon ra...
details: https://anonhg.NetBSD.org/src/rev/5d163be33a42
branches: trunk
changeset: 449834:5d163be33a42
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Mar 25 23:43:56 2019 +0000
description:
Fix open() error message - use a colon rather than a semicolon to match
the other error messages
diffstat:
usr.sbin/srtconfig/srtconfig.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r cf7b37b3826c -r 5d163be33a42 usr.sbin/srtconfig/srtconfig.c
--- a/usr.sbin/srtconfig/srtconfig.c Mon Mar 25 22:24:54 2019 +0000
+++ b/usr.sbin/srtconfig/srtconfig.c Mon Mar 25 23:43:56 2019 +0000
@@ -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 @@
}
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);
}
}
Home |
Main Index |
Thread Index |
Old Index