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/ccf61eaaafac
branches: trunk
changeset: 840148:ccf61eaaafac
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 a1a89d286ec4 -r ccf61eaaafac 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