summaryrefslogtreecommitdiff
path: root/usr.bin/biff
diff options
context:
space:
mode:
authorJohan Karlsson <johan@FreeBSD.org>2002-07-21 15:11:32 +0000
committerJohan Karlsson <johan@FreeBSD.org>2002-07-21 15:11:32 +0000
commitda2dc5cc61087f9a16ab9ce24bf09577350054cb (patch)
tree98300ca6e1e73a7ecca5b699fb4953c1308dbb42 /usr.bin/biff
parent0c9dd24bbb028a1fb8dbd0538c356b52f7738b65 (diff)
downloadsrc-test-da2dc5cc61087f9a16ab9ce24bf09577350054cb.tar.gz
src-test-da2dc5cc61087f9a16ab9ce24bf09577350054cb.zip
Only use one %s when there is only one argument to print.
Submitted by: keramida Approved by: sheldonh (mentor)
Notes
Notes: svn path=/head/; revision=100443
Diffstat (limited to 'usr.bin/biff')
-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 ccbc32ab6c9a5..938914c58c13e 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);