From 9f194c6b43899c9c946495dac019327b07d10228 Mon Sep 17 00:00:00 2001 From: johan Date: Sun, 21 Jul 2002 15:11:32 +0000 Subject: Only use one %s when there is only one argument to print. Submitted by: keramida Approved by: sheldonh (mentor) --- usr.bin/biff/biff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/biff/biff.c') 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); -- cgit v1.1