diff --git a/crypto/kerberosIV/appl/bsd/rshd.c b/crypto/kerberosIV/appl/bsd/rshd.c index ed91febc0952..b750e72f3247 100644 --- a/crypto/kerberosIV/appl/bsd/rshd.c +++ b/crypto/kerberosIV/appl/bsd/rshd.c @@ -596,7 +596,7 @@ doit(struct sockaddr_in *fromp) krb_afslog(0, 0); } execle(pwd->pw_shell, cp, "-c", cmdbuf, 0, envinit); - err(1, pwd->pw_shell); + err(1, "%s", pwd->pw_shell); } /* diff --git a/crypto/kerberosIV/kuser/klist.c b/crypto/kerberosIV/kuser/klist.c index 007c5f0a1451..e0476e0b6222 100644 --- a/crypto/kerberosIV/kuser/klist.c +++ b/crypto/kerberosIV/kuser/klist.c @@ -317,7 +317,7 @@ display_srvtab(char *file) printf("%-15s %-15s %-15s %d\n",serv,inst,rlm,vno); } if (count < 0) - warn(file); + warn("%s", file); close(stab); }