summaryrefslogtreecommitdiffstats
path: root/daemon/ext2.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-17 11:56:10 +0200
committerJim Meyering <meyering@redhat.com>2009-08-17 11:56:10 +0200
commit9b41eeb91733ee681a6a804464b6930d42ed8fd1 (patch)
tree33a247ef9d454f42b7c4b6c076cb24ad79080691 /daemon/ext2.c
parent9dd53bcb10283295d7fb5f0a3469be2984d99926 (diff)
downloadlibguestfs-9b41eeb91733ee681a6a804464b6930d42ed8fd1.tar.gz
libguestfs-9b41eeb91733ee681a6a804464b6930d42ed8fd1.tar.xz
libguestfs-9b41eeb91733ee681a6a804464b6930d42ed8fd1.zip
indent with spaces, not TABs
Diffstat (limited to 'daemon/ext2.c')
-rw-r--r--daemon/ext2.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/daemon/ext2.c b/daemon/ext2.c
index 2603ed06..956c7193 100644
--- a/daemon/ext2.c
+++ b/daemon/ext2.c
@@ -277,8 +277,8 @@ do_mke2journal (int blocksize, const char *device)
snprintf (blocksize_s, sizeof blocksize_s, "%d", blocksize);
r = command (NULL, &err,
- "/sbin/mke2fs", "-O", "journal_dev", "-b", blocksize_s,
- device, NULL);
+ "/sbin/mke2fs", "-O", "journal_dev", "-b", blocksize_s,
+ device, NULL);
if (r == -1) {
reply_with_error ("mke2journal: %s", err);
free (err);
@@ -299,9 +299,9 @@ do_mke2journal_L (int blocksize, const char *label, const char *device)
snprintf (blocksize_s, sizeof blocksize_s, "%d", blocksize);
r = command (NULL, &err,
- "/sbin/mke2fs", "-O", "journal_dev", "-b", blocksize_s,
- "-L", label,
- device, NULL);
+ "/sbin/mke2fs", "-O", "journal_dev", "-b", blocksize_s,
+ "-L", label,
+ device, NULL);
if (r == -1) {
reply_with_error ("mke2journal_L: %s", err);
free (err);
@@ -322,9 +322,9 @@ do_mke2journal_U (int blocksize, const char *uuid, const char *device)
snprintf (blocksize_s, sizeof blocksize_s, "%d", blocksize);
r = command (NULL, &err,
- "/sbin/mke2fs", "-O", "journal_dev", "-b", blocksize_s,
- "-U", uuid,
- device, NULL);
+ "/sbin/mke2fs", "-O", "journal_dev", "-b", blocksize_s,
+ "-U", uuid,
+ device, NULL);
if (r == -1) {
reply_with_error ("mke2journal_U: %s", err);
free (err);
@@ -337,7 +337,7 @@ do_mke2journal_U (int blocksize, const char *uuid, const char *device)
int
do_mke2fs_J (const char *fstype, int blocksize, const char *device,
- const char *journal)
+ const char *journal)
{
char *err;
int r;
@@ -350,8 +350,8 @@ do_mke2fs_J (const char *fstype, int blocksize, const char *device,
snprintf (jdev, len+32, "device=%s", journal);
r = command (NULL, &err,
- "/sbin/mke2fs", "-t", fstype, "-J", jdev, "-b", blocksize_s,
- device, NULL);
+ "/sbin/mke2fs", "-t", fstype, "-J", jdev, "-b", blocksize_s,
+ device, NULL);
if (r == -1) {
reply_with_error ("mke2fs_J: %s", err);
free (err);
@@ -364,7 +364,7 @@ do_mke2fs_J (const char *fstype, int blocksize, const char *device,
int
do_mke2fs_JL (const char *fstype, int blocksize, const char *device,
- const char *label)
+ const char *label)
{
char *err;
int r;
@@ -377,8 +377,8 @@ do_mke2fs_JL (const char *fstype, int blocksize, const char *device,
snprintf (jdev, len+32, "device=LABEL=%s", label);
r = command (NULL, &err,
- "/sbin/mke2fs", "-t", fstype, "-J", jdev, "-b", blocksize_s,
- device, NULL);
+ "/sbin/mke2fs", "-t", fstype, "-J", jdev, "-b", blocksize_s,
+ device, NULL);
if (r == -1) {
reply_with_error ("mke2fs_JL: %s", err);
free (err);
@@ -391,7 +391,7 @@ do_mke2fs_JL (const char *fstype, int blocksize, const char *device,
int
do_mke2fs_JU (const char *fstype, int blocksize, const char *device,
- const char *uuid)
+ const char *uuid)
{
char *err;
int r;
@@ -404,8 +404,8 @@ do_mke2fs_JU (const char *fstype, int blocksize, const char *device,
snprintf (jdev, len+32, "device=UUID=%s", uuid);
r = command (NULL, &err,
- "/sbin/mke2fs", "-t", fstype, "-J", jdev, "-b", blocksize_s,
- device, NULL);
+ "/sbin/mke2fs", "-t", fstype, "-J", jdev, "-b", blocksize_s,
+ device, NULL);
if (r == -1) {
reply_with_error ("mke2fs_JU: %s", err);
free (err);