Module Name: src
Committed By: joerg
Date: Tue May 24 16:04:14 UTC 2011
Modified Files:
src/regress/sys/kern/lockf: lockf.c
Log Message:
Use proper format string
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/regress/sys/kern/lockf/lockf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/regress/sys/kern/lockf/lockf.c
diff -u src/regress/sys/kern/lockf/lockf.c:1.7 src/regress/sys/kern/lockf/lockf.c:1.8
--- src/regress/sys/kern/lockf/lockf.c:1.7 Mon Apr 28 20:23:07 2008
+++ src/regress/sys/kern/lockf/lockf.c Tue May 24 16:04:14 2011
@@ -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);