|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] tools/xen-hptool: Replace hard tabs
commit 7897492d8082f18073514a9380f361b4f5df5897
Author: Jason Andryuk <jason.andryuk@xxxxxxx>
AuthorDate: Wed Apr 23 17:28:21 2025 -0400
Commit: Anthony PERARD <anthony.perard@xxxxxxxxxx>
CommitDate: Fri Apr 25 11:47:05 2025 +0200
tools/xen-hptool: Replace hard tabs
With a tab stop of 8, the alignment is off. Replace the hard tabs with
spaces to match the file.
Fixes: 284d5633be37 ("Tools: add online/offline hotplug user interfaces")
Signed-off-by: Jason Andryuk <jason.andryuk@xxxxxxx>
Reviewed-by: Denis Mukhin <dmukhin@xxxxxxxx>
Acked-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
tools/misc/xen-hptool.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/misc/xen-hptool.c b/tools/misc/xen-hptool.c
index d850404e31..590810b6eb 100644
--- a/tools/misc/xen-hptool.c
+++ b/tools/misc/xen-hptool.c
@@ -56,7 +56,7 @@ static int hp_mem_online_func(int argc, char *argv[])
fprintf(stderr, "Onlining page mfn %lx is broken, "
"Memory online failed\n", mfn);
ret = -1;
- }
+ }
else if (status & PG_ONLINE_ONLINED)
printf("Memory mfn %lx onlined successfully\n", mfn);
else
@@ -85,14 +85,14 @@ static int hp_mem_query_func(int argc, char *argv[])
fprintf(stderr, "Querying page mfn %lx failed, error %x\n", mfn,
errno);
else
{
- printf("Memory Status %x: [", status);
+ printf("Memory Status %x: [", status);
if ( status & PG_OFFLINE_STATUS_OFFLINE_PENDING)
printf(" PAGE_OFFLINE_PENDING ");
if ( status & PG_OFFLINE_STATUS_BROKEN )
printf(" PAGE_BROKEND ");
if ( status & PG_OFFLINE_STATUS_OFFLINED )
printf(" PAGE_OFFLINED ");
- else
+ else
printf(" PAGE_ONLINED ");
printf("]\n");
}
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |