From 99df425ee36cdbe6a1228c3cd4fc606b64d8dfc2 Mon Sep 17 00:00:00 2001 From: dm199847 Date: Tue, 22 Jan 2008 11:22:23 -0800 Subject: 6651434 Missing argument to snprintf --- usr/src/cmd/idmap/idmap/idmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/src') diff --git a/usr/src/cmd/idmap/idmap/idmap.c b/usr/src/cmd/idmap/idmap/idmap.c index 1a667deb94..765e07da3f 100644 --- a/usr/src/cmd/idmap/idmap/idmap.c +++ b/usr/src/cmd/idmap/idmap/idmap.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -1055,7 +1055,7 @@ usermap_cfg_string(char *in) if (out == NULL) return (NULL); - (void) snprintf(out, len + 3, "\"%s\""); + (void) snprintf(out, len + 3, "\"%s\"", in); return (out); } -- cgit v1.2.3