diff mbox series

[liburing,v1] configure: Increase the length of print result format

Message ID 20241201171247.23703-1-haiyuewa@163.com (mailing list archive)
State New
Headers show
Series [liburing,v1] configure: Increase the length of print result format | expand

Commit Message

Haiyue Wang Dec. 1, 2024, 5:12 p.m. UTC
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 <haiyuewa@163.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jens Axboe Dec. 1, 2024, 9:46 p.m. UTC | #1
On Mon, 02 Dec 2024 01:12:44 +0800, Haiyue Wang wrote:
> 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'
> 
> [...]

Applied, thanks!

[1/1] configure: Increase the length of print result format
      commit: 65da697660a47c0e97b2dc0bb06569ffe39e279b

Best regards,
diff mbox series

Patch

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