diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-29 12:12:39 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-29 12:12:39 +0000 |
commit | 0893220b2a4507fc2619b625ecb0d6241ef5cd6f (patch) | |
tree | 1f81a1c1fac15dc8f3cd86aef65cbcf261f01a97 /cpukit/libmisc/shell/main_unmount.c | |
parent | Whitespace removal. (diff) | |
download | rtems-0893220b2a4507fc2619b625ecb0d6241ef5cd6f.tar.bz2 |
Whitespace removal.
Diffstat (limited to 'cpukit/libmisc/shell/main_unmount.c')
-rw-r--r-- | cpukit/libmisc/shell/main_unmount.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libmisc/shell/main_unmount.c b/cpukit/libmisc/shell/main_unmount.c index 0a9de416fe..ba101dc014 100644 --- a/cpukit/libmisc/shell/main_unmount.c +++ b/cpukit/libmisc/shell/main_unmount.c @@ -34,7 +34,7 @@ int rtems_shell_main_unmount( { char* mount_point = NULL; int arg; - + for (arg = 1; arg < argc; arg++) { if (!mount_point) mount_point = argv[arg]; @@ -48,19 +48,19 @@ int rtems_shell_main_unmount( fprintf (stderr, "error: no mount point\n"); return 1; } - + /* * Unmount the disk. */ - + if (unmount (mount_point) < 0) { fprintf (stderr, "error: unmount failed: %s: %s\n", mount_point, strerror (errno)); return 1; } - + printf ("unmounted %s\n", mount_point); - + return 0; } |