summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authordm199847 <none@none>2008-01-22 11:22:23 -0800
committerdm199847 <none@none>2008-01-22 11:22:23 -0800
commit99df425ee36cdbe6a1228c3cd4fc606b64d8dfc2 (patch)
treef7a9cef7baf4fefa6b45fcf6e8c05f1dbc5548e3 /usr/src
parentaaa19a196db5f105d3cade344ec3ace452f63550 (diff)
downloadillumos-joyent-99df425ee36cdbe6a1228c3cd4fc606b64d8dfc2.tar.gz
6651434 Missing argument to snprintf
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/idmap/idmap/idmap.c4
1 files changed, 2 insertions, 2 deletions
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);
}