whitespace fixes

This commit is contained in:
Denis Vlasenko 2008-09-25 10:39:10 +00:00
parent cac0f5b7e5
commit ea7c9b3366
7 changed files with 13 additions and 13 deletions

View File

@ -17,7 +17,7 @@ echo 'static const char packed_usage[] ALIGN1 = {'
## Breaks on big-endian systems! ## Breaks on big-endian systems!
## # Extra effort to avoid using "od -t x1": -t is not available ## # Extra effort to avoid using "od -t x1": -t is not available
## # in non-CONFIG_DESKTOPed busybox od ## # in non-CONFIG_DESKTOPed busybox od
## ##
## "$loc/usage" | bzip2 -1 | od -v -x \ ## "$loc/usage" | bzip2 -1 | od -v -x \
## | $SED -e 's/^[^ ]*//' \ ## | $SED -e 's/^[^ ]*//' \
## | $SED -e 's/ //g' \ ## | $SED -e 's/ //g' \

View File

@ -72,9 +72,9 @@ int showkey_main(int argc UNUSED_PARAM, char **argv)
// get keyboard settings // get keyboard settings
xioctl(STDIN_FILENO, KDGKBMODE, &kbmode); xioctl(STDIN_FILENO, KDGKBMODE, &kbmode);
printf("kb mode was %s\n\nPress any keys. Program terminates %s\n\n", printf("kb mode was %s\n\nPress any keys. Program terminates %s\n\n",
kbmode == K_RAW ? "RAW" : kbmode == K_RAW ? "RAW" :
(kbmode == K_XLATE ? "XLATE" : (kbmode == K_XLATE ? "XLATE" :
(kbmode == K_MEDIUMRAW ? "MEDIUMRAW" : (kbmode == K_MEDIUMRAW ? "MEDIUMRAW" :
(kbmode == K_UNICODE ? "UNICODE" : "?UNKNOWN?"))) (kbmode == K_UNICODE ? "UNICODE" : "?UNKNOWN?")))
, (option_mask32 & OPT_a) ? "when CTRL+D pressed" : "10s after last keypress" , (option_mask32 & OPT_a) ? "when CTRL+D pressed" : "10s after last keypress"
); );

View File

@ -3,7 +3,7 @@
<ul> <ul>
<li> <li>
<p>We want to thank the following companies which are providing support for the BusyBox project: <p>We want to thank the following companies which are providing support for the BusyBox project:
<ul> <ul>
<li>AOE media, a <a href="http://www.aoemedia.com/typo3-development.html"> <li>AOE media, a <a href="http://www.aoemedia.com/typo3-development.html">
TYPO3 development agency</a> contributes financially.</li> TYPO3 development agency</a> contributes financially.</li>

View File

@ -313,10 +313,10 @@ static void load_fs_info(const char *filename)
// Loop through entries // Loop through entries
while (getmntent_r(fstab, &mte, bb_common_bufsiz1, COMMON_BUFSIZE)) { while (getmntent_r(fstab, &mte, bb_common_bufsiz1, COMMON_BUFSIZE)) {
//bb_info_msg("CREATE[%s][%s][%s][%s][%d]", mte.mnt_fsname, mte.mnt_dir, //bb_info_msg("CREATE[%s][%s][%s][%s][%d]", mte.mnt_fsname, mte.mnt_dir,
// mte.mnt_type, mte.mnt_opts, // mte.mnt_type, mte.mnt_opts,
// mte.mnt_passno); // mte.mnt_passno);
fs = create_fs_device(mte.mnt_fsname, mte.mnt_dir, fs = create_fs_device(mte.mnt_fsname, mte.mnt_dir,
mte.mnt_type, mte.mnt_opts, mte.mnt_type, mte.mnt_opts,
mte.mnt_passno); mte.mnt_passno);
} }
endmntent(fstab); endmntent(fstab);

View File

@ -50,7 +50,7 @@ int halt_main(int argc UNUSED_PARAM, char **argv)
static const int magic[] = { static const int magic[] = {
RB_HALT_SYSTEM, RB_HALT_SYSTEM,
RB_POWER_OFF, RB_POWER_OFF,
RB_AUTOBOOT RB_AUTOBOOT
}; };
static const smallint signals[] = { SIGUSR1, SIGUSR2, SIGTERM }; static const smallint signals[] = { SIGUSR1, SIGUSR2, SIGTERM };

View File

@ -510,7 +510,7 @@ getopt32(char **argv, const char *applet_opts, ...)
*pargv = pp; *pargv = pp;
} }
if (!(spec_flgs & ALL_ARGV_IS_OPTS)) if (!(spec_flgs & ALL_ARGV_IS_OPTS))
break; break;
pargv++; pargv++;
} }
} }

View File

@ -1,5 +1,5 @@
# When building a target filesystem, it is desirable to not have to # When building a target filesystem, it is desirable to not have to
# become root and then run 'mknod' a thousand times. Using a device # become root and then run 'mknod' a thousand times. Using a device
# table you can create device nodes and directories "on the fly". # table you can create device nodes and directories "on the fly".
# #
# This is a sample device table file for use with genext2fs. You can # This is a sample device table file for use with genext2fs. You can
@ -14,17 +14,17 @@
# I could just use the following two table entries: # I could just use the following two table entries:
# /dev/hda b 640 0 0 3 0 0 0 - # /dev/hda b 640 0 0 3 0 0 0 -
# /dev/hda b 640 0 0 3 1 1 1 15 # /dev/hda b 640 0 0 3 1 1 1 15
# #
# Device table entries take the form of: # Device table entries take the form of:
# <name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count> # <name> <type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>
# where name is the file name, type can be one of: # where name is the file name, type can be one of:
# f A regular file # f A regular file
# d Directory # d Directory
# c Character special device file # c Character special device file
# b Block special device file # b Block special device file
# p Fifo (named pipe) # p Fifo (named pipe)
# uid is the user id for the target file, gid is the group id for the # uid is the user id for the target file, gid is the group id for the
# target file. The rest of the entries (major, minor, etc) apply only # target file. The rest of the entries (major, minor, etc) apply only
# to device special files. # to device special files.
# Have fun # Have fun