Re: [PATCH] init: Introduce rootdir bootparm to select which dir to sys_chroot

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Al Boldi
Date: Wednesday, November 7, 2007 - 1:10 pm

Al Boldi wrote:

This line is probably using an overloaded function that does not exist.
Use this instead:

static char __initdata root_dir[128];
static int __init root_dir_setup(char *str)
{
	strcpy(root_dir, "./");
	strlcat(root_dir, str, sizeof(root_dir) - strlen(root_dir) - 1);
	return 1;
}



Thanks!

--
Al

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] init: Introduce rootdir bootparm to select whi ..., Al Boldi, (Wed Nov 7, 1:10 pm)