summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/opie/opielogin.c2
-rw-r--r--contrib/opie/permsfile.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/opie/opielogin.c b/contrib/opie/opielogin.c
index eacfac9..8ca8de0 100644
--- a/contrib/opie/opielogin.c
+++ b/contrib/opie/opielogin.c
@@ -291,7 +291,7 @@ static VOIDRET getloginname FUNCTION_NOARGS
flags = 4;
first--;
} else
- printf(ttyprompt);
+ printf("%s", ttyprompt);
} else
printf("login: ");
fflush(stdout);
diff --git a/contrib/opie/permsfile.c b/contrib/opie/permsfile.c
index 46650b1..13b3ea3 100644
--- a/contrib/opie/permsfile.c
+++ b/contrib/opie/permsfile.c
@@ -48,7 +48,7 @@ char **ftpglob __P((char *));
VOIDRET opiefatal FUNCTION((x), char *x)
{
- fprintf(stderr, x);
+ fprintf(stderr, "%s", x);
exit(1);
}
OpenPOWER on IntegriCloud