Fix whitespace.

Because of previous automated commits, such as changing 'guestfs___'
-> 'guestfs_int_', several function calls no longer lined up with
their parameters, and some lines were too long.

The bulk of this commit was done using emacs batch mode and the
technique described here:

  http://www.cslab.pepperdine.edu/warford/BatchIndentationEmacs.html

The changes suggested by emacs were then reviewed by hand.
This commit is contained in:
Richard W.M. Jones
2015-10-05 11:40:16 +01:00
parent d07b32e14f
commit 677c721e85
86 changed files with 678 additions and 657 deletions

View File

@@ -173,10 +173,10 @@ add_partitions (const char *device, struct stringsbuf *r)
/* Check if readdir failed */
if (0 != errno) {
reply_with_perror ("readdir: %s", devdir);
free_stringslen (r->argv, r->size);
closedir (dir);
return -1;
reply_with_perror ("readdir: %s", devdir);
free_stringslen (r->argv, r->size);
closedir (dir);
return -1;
}
/* Close the directory handle */
@@ -252,8 +252,7 @@ do_is_whole_device (const char *device)
* /sys/block directory */
CLEANUP_FREE char *devpath = NULL;
if (asprintf (&devpath, "/sys/block/%s/device",
device + strlen ("/dev/")) == -1)
{
device + strlen ("/dev/")) == -1) {
reply_with_perror ("asprintf");
return -1;
}