X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fmemory.c;h=1137390cb343690f6b3703b909ddae9578b6884a;hb=c649fe54427ea6e6c53e0c832314d999ec11e4e9;hp=1babfe9fcae4d80b9ef1b094b4cabf70db12c54a;hpb=d0ff75c62b11010ed977e3e73d14253fe521f5b4;p=sliver-openvswitch.git diff --git a/lib/memory.c b/lib/memory.c index 1babfe9fc..1137390cb 100644 --- a/lib/memory.c +++ b/lib/memory.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012 Nicira, Inc. + * Copyright (c) 2012, 2013 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -138,7 +138,9 @@ memory_report(const struct simap *usage) compose_report(usage, &s); if (want_report) { - VLOG_INFO("%s", ds_cstr(&s)); + if (s.length) { + VLOG_INFO("%s", ds_cstr(&s)); + } want_report = false; } if (n_conns) {