summaryrefslogtreecommitdiffstats
path: root/usr.bin/biff/biff.c
diff options
context:
space:
mode:
authorjohan <johan@FreeBSD.org>2002-07-21 15:11:32 +0000
committerjohan <johan@FreeBSD.org>2002-07-21 15:11:32 +0000
commit9f194c6b43899c9c946495dac019327b07d10228 (patch)
tree98300ca6e1e73a7ecca5b699fb4953c1308dbb42 /usr.bin/biff/biff.c
parent91747680359420aafcf69a4d6a2199f6cbd9e4ad (diff)
downloadFreeBSD-src-9f194c6b43899c9c946495dac019327b07d10228.zip
FreeBSD-src-9f194c6b43899c9c946495dac019327b07d10228.tar.gz
Only use one %s when there is only one argument to print.
Submitted by: keramida Approved by: sheldonh (mentor)
Diffstat (limited to 'usr.bin/biff/biff.c')
-rw-r--r--usr.bin/biff/biff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/biff/biff.c b/usr.bin/biff/biff.c
index ccbc32a..938914c 100644
--- a/usr.bin/biff/biff.c
+++ b/usr.bin/biff/biff.c
@@ -81,7 +81,7 @@ main(argc, argv)
err(2, "stat");
if (*argv == NULL) {
- (void)printf("is %s%s\n",
+ (void)printf("is %s\n",
sb.st_mode & S_IXUSR ? "y" :
sb.st_mode & S_IXGRP ? "b" : "n");
return(sb.st_mode & (S_IXUSR | S_IXGRP) ? 0 : 1);
OpenPOWER on IntegriCloud