diff options
author | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-10-09 08:18:37 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-10-09 08:18:37 +0200 |
commit | 9b391290c2fcc91e2639eea6cffe1a18cb6e8b68 (patch) | |
tree | 41359ab5d075de98bbbe4722dddfaa00923bf8e4 /common/console.c | |
parent | ca99316c68d5bec29bfc59958a43ba7763e55eaa (diff) | |
download | barebox-9b391290c2fcc91e2639eea6cffe1a18cb6e8b68.tar.gz barebox-9b391290c2fcc91e2639eea6cffe1a18cb6e8b68.tar.xz |
Fix use of unitialized Variable. Why didn't this come up earlier???
Diffstat (limited to 'common/console.c')
-rw-r--r-- | common/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/console.c b/common/console.c index 870e860625..aa1e055d83 100644 --- a/common/console.c +++ b/common/console.c @@ -105,7 +105,7 @@ int console_register(struct console_device *newcdev) CONFIG_BAUDRATE); console_baudrate_set(dev, &newcdev->baudrate_param, newcdev->baudrate_string); - cdev->baudrate_param.value = newcdev->baudrate_string; + newcdev->baudrate_param.value = newcdev->baudrate_string; dev_add_param(dev, &newcdev->baudrate_param); } |