mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
ctdb-tools: Simplify "ctdb getdbseqnum" output format
Print the sequence number without preamble. Print it in hex to match the logs. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
41d13470cb
commit
74989b1eec
@ -4507,7 +4507,7 @@ static int control_getdbseqnum(struct ctdb_context *ctdb, int argc, const char *
|
||||
return -1;
|
||||
}
|
||||
|
||||
printf("Sequence number:%lld\n", (long long)seqnum);
|
||||
printf("0x%"PRIx64"\n", seqnum);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user