From 640b35e0220685a6e0c55ff1d730b185636d4c66 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 15 Oct 2006 23:55:30 +0000 Subject: [PATCH] c99 initializers --- bin/cp/cp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/cp/cp.c b/bin/cp/cp.c index ad59398cff16..4dd6b4b68a85 100644 --- a/bin/cp/cp.c +++ b/bin/cp/cp.c @@ -1,4 +1,4 @@ -/* $NetBSD: cp.c,v 1.46 2006/08/15 23:03:51 jschauma Exp $ */ +/* $NetBSD: cp.c,v 1.47 2006/10/15 23:55:30 christos Exp $ */ /* * Copyright (c) 1988, 1993, 1994 @@ -43,7 +43,7 @@ __COPYRIGHT( #if 0 static char sccsid[] = "@(#)cp.c 8.5 (Berkeley) 4/29/95"; #else -__RCSID("$NetBSD: cp.c,v 1.46 2006/08/15 23:03:51 jschauma Exp $"); +__RCSID("$NetBSD: cp.c,v 1.47 2006/10/15 23:55:30 christos Exp $"); #endif #endif /* not lint */ @@ -82,7 +82,7 @@ __RCSID("$NetBSD: cp.c,v 1.46 2006/08/15 23:03:51 jschauma Exp $"); } static char empty[] = ""; -PATH_T to = { to.p_path, empty }; +PATH_T to = { .p_end = to.p_path, .target_end = empty }; uid_t myuid; int Hflag, Lflag, Rflag, Pflag, fflag, iflag, pflag, rflag, vflag, Nflag;