summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Stuehler <uwe@cvs.openbsd.org>2005-05-24 20:48:36 +0000
committerUwe Stuehler <uwe@cvs.openbsd.org>2005-05-24 20:48:36 +0000
commit69ac191f273525b5dcc3e5b77e5d753c88fe21d1 (patch)
tree05473ccd159bfe1b64a70958a020e84de4d245d9
parentc2d61de003a4ec643eb2669317d53097263eafd7 (diff)
printf(s) -> printf("%s", s)
-rw-r--r--sys/stand/boot/vars.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/stand/boot/vars.c b/sys/stand/boot/vars.c
index 48008c63e83..d889be91945 100644
--- a/sys/stand/boot/vars.c
+++ b/sys/stand/boot/vars.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vars.c,v 1.12 2004/06/24 22:41:39 tom Exp $ */
+/* $OpenBSD: vars.c,v 1.13 2005/05/24 20:48:35 uwe Exp $ */
/*
* Copyright (c) 1998-2000 Michael Shalayeff
@@ -235,7 +235,7 @@ Xenv(void)
{
if (cmd.argc == 1) {
if (environ)
- printf(environ);
+ printf("%s", environ);
else
printf("empty\n");
} else {