Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/cp Fix the name of failed function in warning message.



details:   https://anonhg.NetBSD.org/src/rev/03ad44ff244d
branches:  trunk
changeset: 806616:03ad44ff244d
user:      enami <enami%NetBSD.org@localhost>
date:      Tue Mar 03 00:20:38 2015 +0000

description:
Fix the name of failed function in warning message.

diffstat:

 bin/cp/utils.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f836b4463c9e -r 03ad44ff244d bin/cp/utils.c
--- a/bin/cp/utils.c    Tue Mar 03 00:19:07 2015 +0000
+++ b/bin/cp/utils.c    Tue Mar 03 00:20:38 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: utils.c,v 1.43 2015/03/02 03:17:24 enami Exp $ */
+/* $NetBSD: utils.c,v 1.44 2015/03/03 00:20:38 enami Exp $ */
 
 /*-
  * Copyright (c) 1991, 1993, 1994
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)utils.c    8.3 (Berkeley) 4/1/94";
 #else
-__RCSID("$NetBSD: utils.c,v 1.43 2015/03/02 03:17:24 enami Exp $");
+__RCSID("$NetBSD: utils.c,v 1.44 2015/03/03 00:20:38 enami Exp $");
 #endif
 #endif /* not lint */
 
@@ -68,7 +68,7 @@
     ts[1] = fs->st_mtimespec;
 
     if (lutimens(file, ts)) {
-       warn("lutimes: %s", file);
+       warn("lutimens: %s", file);
        return (1);
     }
     return (0);



Home | Main Index | Thread Index | Old Index