X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fhostname%2Fhostnamectl.c;h=afbf37db517561c32124f690b5548c43dbd99c80;hp=3150396c70e89d2167e94616f4953d7694cea43f;hb=39883f622f392d8579f4428fc5a789a102efbb10;hpb=ca721e36083e70709ce21376c0b89bc797e53f91 diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c index 3150396c7..afbf37db5 100644 --- a/src/hostname/hostnamectl.c +++ b/src/hostname/hostnamectl.c @@ -69,7 +69,7 @@ typedef struct StatusInfo { } StatusInfo; static void print_status_info(StatusInfo *i) { - sd_id128_t mid, bid; + sd_id128_t mid = {}, bid = {}; int r; const char *id = NULL; _cleanup_free_ char *pretty_name = NULL, *cpe_name = NULL;