Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/regress/sys/kern/lockf Use proper format string
details: https://anonhg.NetBSD.org/src/rev/4eb2883d760d
branches: trunk
changeset: 765360:4eb2883d760d
user: joerg <joerg%NetBSD.org@localhost>
date: Tue May 24 16:04:14 2011 +0000
description:
Use proper format string
diffstat:
regress/sys/kern/lockf/lockf.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 035b0c968ceb -r 4eb2883d760d regress/sys/kern/lockf/lockf.c
--- a/regress/sys/kern/lockf/lockf.c Tue May 24 16:03:15 2011 +0000
+++ b/regress/sys/kern/lockf/lockf.c Tue May 24 16:04:14 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lockf.c,v 1.7 2008/04/28 20:23:07 martin Exp $ */
+/* $NetBSD: lockf.c,v 1.8 2011/05/24 16:04:14 joerg Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
fd = open (lockfile, O_RDWR, 0);
if (fd < 0)
- err(1, lockfile);
+ err(1, "%s", lockfile);
printf("%d: start\n", id);
Home |
Main Index |
Thread Index |
Old Index