diff options
author | Johan Karlsson <johan@FreeBSD.org> | 2002-07-21 15:11:32 +0000 |
---|---|---|
committer | Johan Karlsson <johan@FreeBSD.org> | 2002-07-21 15:11:32 +0000 |
commit | da2dc5cc61087f9a16ab9ce24bf09577350054cb (patch) | |
tree | 98300ca6e1e73a7ecca5b699fb4953c1308dbb42 /usr.bin/biff | |
parent | 0c9dd24bbb028a1fb8dbd0538c356b52f7738b65 (diff) | |
download | src-da2dc5cc61087f9a16ab9ce24bf09577350054cb.tar.gz src-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/biff/biff.c b/usr.bin/biff/biff.c index ccbc32ab6c9a..938914c58c13 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); |