diff options
author | Christopher Faylor <me@cgf.cx> | 2000-10-28 05:00:00 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-10-28 05:00:00 +0000 |
commit | eedc36cb12f20ed62f5dfeaea25c84c7c984cf5f (patch) | |
tree | 5171ebc934d3017789e207a6ce10f9627acc5b8c /winsup/utils/umount.cc | |
parent | 3c952fed3fecfe6aec09d07a5cbad293970da0a0 (diff) | |
download | cygnal-eedc36cb12f20ed62f5dfeaea25c84c7c984cf5f.tar.gz cygnal-eedc36cb12f20ed62f5dfeaea25c84c7c984cf5f.tar.bz2 cygnal-eedc36cb12f20ed62f5dfeaea25c84c7c984cf5f.zip |
Cleanup formatting on some files. Remove excessive whitespace.
Diffstat (limited to 'winsup/utils/umount.cc')
-rw-r--r-- | winsup/utils/umount.cc | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/winsup/utils/umount.cc b/winsup/utils/umount.cc index d79aaca33..3c1e5f35f 100644 --- a/winsup/utils/umount.cc +++ b/winsup/utils/umount.cc @@ -27,13 +27,18 @@ static void usage (void) { fprintf (stderr, "Usage %s [-s] <posixpath>\n", progname); - fprintf (stderr, "-s = remove mount point from system-wide registry location\n"); + fprintf (stderr, + "-s = remove mount point from system-wide registry location\n"); fprintf (stderr, "\n"); fprintf (stderr, "--remove-all-mounts = remove all mounts\n"); - fprintf (stderr, "--remove-auto-mounts = remove all automatically mounted mounts\n"); - fprintf (stderr, "--remove-user-mounts = remove all mounts in the current user mount registry area, including auto mounts\n"); - fprintf (stderr, "--remove-system-mounts = remove all mounts in the system-wide mount registry area\n"); - fprintf (stderr, "[-s] --remove-cygdrive-prefix = remove cygdrive path prefix\n"); + fprintf (stderr, + "--remove-auto-mounts = remove all automatically mounted mounts\n"); + fprintf (stderr, + "--remove-user-mounts = remove all mounts in the current user mount registry area, including auto mounts\n"); + fprintf (stderr, + "--remove-system-mounts = remove all mounts in the system-wide mount registry area\n"); + fprintf (stderr, + "[-s] --remove-cygdrive-prefix = remove cygdrive path prefix\n"); exit (1); } @@ -57,7 +62,7 @@ main (int argc, char **argv) for (i = 1; i < argc; ++i) { if (argv[i][0] != '-') - break; + break; if (strcmp (argv[i], "-s") == 0) { @@ -194,7 +199,7 @@ remove_all_system_mounts () static void remove_cygdrive_prefix (int flags) { - int res = cygwin_umount(NULL, flags | MOUNT_AUTO); + int res = cygwin_umount (NULL, flags | MOUNT_AUTO); if (res) error ("remove_cygdrive_prefix"); } |