public inbox for [email protected]
 help / color / mirror / Atom feed
From: Haiyue Wang <[email protected]>
To: [email protected]
Cc: Haiyue Wang <[email protected]>
Subject: [PATCH liburing v1] configure: Increase the length of print result format
Date: Mon,  2 Dec 2024 01:12:44 +0800	[thread overview]
Message-ID: <[email protected]> (raw)

The commit 906a45673123 ("Add io_uring_prep_cmd_discard") add an string
'io_uring discard command support' with length 32, it will print result
with 'yes/no' value as:
 'io_uring discard command supportno'

Change the string format length to 35, to beautify the printing:
 'io_uring discard command support   no'

And the print result maximum length is 76, should be acceptable to avoid
line wrap:
 'libgcc_link_flag                   /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a'

Signed-off-by: Haiyue Wang <[email protected]>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 4794306..c2351a2 100755
--- a/configure
+++ b/configure
@@ -114,7 +114,7 @@ fatal() {
 
 # Print result for each configuration test
 print_config() {
-  printf "%-30s%s\n" "$1" "$2"
+  printf "%-35s%s\n" "$1" "$2"
 }
 
 # Default CFLAGS
-- 
2.47.1


             reply	other threads:[~2024-12-01 17:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-01 17:12 Haiyue Wang [this message]
2024-12-01 21:46 ` [PATCH liburing v1] configure: Increase the length of print result format Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox