public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH liburing v1] configure: Increase the length of print result format
@ 2024-12-01 17:12 Haiyue Wang
  2024-12-01 21:46 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Haiyue Wang @ 2024-12-01 17:12 UTC (permalink / raw)
  To: io-uring; +Cc: Haiyue Wang

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-01 21:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-01 17:12 [PATCH liburing v1] configure: Increase the length of print result format Haiyue Wang
2024-12-01 21:46 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox