aboutsummaryrefslogtreecommitdiffstats
path: root/psplash.c
diff options
context:
space:
mode:
Diffstat (limited to 'psplash.c')
-rw-r--r--psplash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/psplash.c b/psplash.c
index 65cf514..c72d120 100644
--- a/psplash.c
+++ b/psplash.c
@@ -102,7 +102,7 @@ psplash_draw_progress (PSplashFB *fb, int value)
}
static int
-parse_command (PSplashFB *fb, char *string, int length)
+parse_command (PSplashFB *fb, char *string)
{
char *command;
@@ -175,14 +175,14 @@ psplash_main (PSplashFB *fb, int pipe_fd, int timeout)
if (command[length-1] == '\0')
{
- if (parse_command(fb, command, strlen(command)))
+ if (parse_command(fb, command))
return;
length = 0;
}
else if (command[length-1] == '\n')
{
command[length-1] = '\0';
- if (parse_command(fb, command, strlen(command)))
+ if (parse_command(fb, command))
return;
length = 0;
}