aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-22 00:16:29 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-22 00:16:29 +0000
commit1f228985b27602f94ff973d50e276220887df6a3 (patch)
tree5715edba638603b3815dc8700c88c2c0395b2b16 /miscutils
parent5d89fbaa2e00a8a26e530306d76b78bf91d12ec8 (diff)
downloadbusybox-1f228985b27602f94ff973d50e276220887df6a3.tar.gz
whitespace fixes. no code changes
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/fbsplash.c16
-rw-r--r--miscutils/man.c6
2 files changed, 11 insertions, 11 deletions
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c
index a288b3ca5..626cefb28 100644
--- a/miscutils/fbsplash.c
+++ b/miscutils/fbsplash.c
@@ -9,11 +9,11 @@
* - use kernel option 'vga=xxx' or otherwise enable framebuffer device.
* - put somewhere fbsplash.cfg file and an image in .ppm format.
* - run applet: $ setsid fbsplash [params] &
- * -c: hide cursor
- * -d /dev/fbN: framebuffer device (if not /dev/fb0)
- * -s path_to_image_file (can be "-" for stdin)
- * -i path_to_cfg_file
- * -f path_to_fifo (can be "-" for stdin)
+ * -c: hide cursor
+ * -d /dev/fbN: framebuffer device (if not /dev/fb0)
+ * -s path_to_image_file (can be "-" for stdin)
+ * -i path_to_cfg_file
+ * -f path_to_fifo (can be "-" for stdin)
* - if you want to run it only in presence of a kernel parameter
* (for example fbsplash=on), use:
* grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params]
@@ -147,7 +147,7 @@ static void fb_drawfullrectangle(int nx1pos, int ny1pos, int nx2pos, int ny2pos,
ngreen >>= 2; // 6-bit green
nblue >>= 3; // 5-bit blue
thispix = nblue + (ngreen << 5) + (nred << (5+6));
-
+
cnt1 = ny2pos - ny1pos;
nypos = ny1pos;
do {
@@ -156,7 +156,7 @@ static void fb_drawfullrectangle(int nx1pos, int ny1pos, int nx2pos, int ny2pos,
do {
*ptr++ = thispix;
} while (--cnt2 >= 0);
-
+
nypos++;
} while (--cnt1 >= 0);
}
@@ -342,7 +342,7 @@ static void init(const char *cfg_filename)
case 7:
G.bdebug_messages = val;
if (G.bdebug_messages)
- G.logfile_fd = xfopen("/tmp/fbsplash.log", "w");
+ G.logfile_fd = xfopen("/tmp/fbsplash.log", "w");
break;
#endif
err:
diff --git a/miscutils/man.c b/miscutils/man.c
index bf13ab527..278e5a336 100644
--- a/miscutils/man.c
+++ b/miscutils/man.c
@@ -82,7 +82,7 @@ int man_main(int argc ATTRIBUTE_UNUSED, char **argv)
sec_list = xstrdup("1:2:3:4:5:6:7:8:9");
alloc_mp = 10;
- man_path_list = xmalloc(10 * sizeof(man_path_list[0]));
+ man_path_list = xmalloc(10 * sizeof(man_path_list[0]));
count_mp = 0;
man_path_list[0] = xstrdup(getenv("MANPATH"));
if (man_path_list[0])
@@ -137,8 +137,8 @@ int man_main(int argc ATTRIBUTE_UNUSED, char **argv)
char *man_filename = xasprintf("%.*s/man%.*s/%s.%.*s" ".bz2",
path_len, cur_path,
- sect_len, cur_sect,
- *argv,
+ sect_len, cur_sect,
+ *argv,
sect_len, cur_sect);
int found = show_manpage(pager, man_filename);
free(man_filename);