virt-df: Add newlines after error messages.

(cherry picked from commit 9e2cdd309b)
This commit is contained in:
Richard W.M. Jones
2012-05-03 15:23:14 +01:00
parent e6b0c186ab
commit 529c615835

View File

@@ -114,7 +114,7 @@ get_domains_from_libvirt (void)
if (!conn) {
err = virGetLastError ();
fprintf (stderr,
_("%s: could not connect to libvirt (code %d, domain %d): %s"),
_("%s: could not connect to libvirt (code %d, domain %d): %s\n"),
program_name, err->code, err->domain, err->message);
exit (EXIT_FAILURE);
}
@@ -123,7 +123,7 @@ get_domains_from_libvirt (void)
if (n == -1) {
err = virGetLastError ();
fprintf (stderr,
_("%s: could not get number of running domains (code %d, domain %d): %s"),
_("%s: could not get number of running domains (code %d, domain %d): %s\n"),
program_name, err->code, err->domain, err->message);
exit (EXIT_FAILURE);
}
@@ -133,7 +133,7 @@ get_domains_from_libvirt (void)
if (n == -1) {
err = virGetLastError ();
fprintf (stderr,
_("%s: could not list running domains (code %d, domain %d): %s"),
_("%s: could not list running domains (code %d, domain %d): %s\n"),
program_name, err->code, err->domain, err->message);
exit (EXIT_FAILURE);
}
@@ -144,7 +144,7 @@ get_domains_from_libvirt (void)
if (n == -1) {
err = virGetLastError ();
fprintf (stderr,
_("%s: could not get number of inactive domains (code %d, domain %d): %s"),
_("%s: could not get number of inactive domains (code %d, domain %d): %s\n"),
program_name, err->code, err->domain, err->message);
exit (EXIT_FAILURE);
}
@@ -154,7 +154,7 @@ get_domains_from_libvirt (void)
if (n == -1) {
err = virGetLastError ();
fprintf (stderr,
_("%s: could not list inactive domains (code %d, domain %d): %s"),
_("%s: could not list inactive domains (code %d, domain %d): %s\n"),
program_name, err->code, err->domain, err->message);
exit (EXIT_FAILURE);
}
@@ -280,7 +280,7 @@ add_domain (virDomainPtr dom)
if (domain->nr_disks > MAX_DISKS) {
fprintf (stderr,
_("%s: ignoring %s, it has too many disks (%zu > %d)"),
_("%s: ignoring %s, it has too many disks (%zu > %d)\n"),
program_name, domain->name, domain->nr_disks, MAX_DISKS);
free_domain (domain);
nr_domains--;