diff options
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/bay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/bay.c b/drivers/acpi/bay.c index 56a5b3fffeb3..6daf6088ac88 100644 --- a/drivers/acpi/bay.c +++ b/drivers/acpi/bay.c | |||
@@ -337,7 +337,7 @@ static void bay_notify(acpi_handle handle, u32 event, void *data) | |||
337 | char *envp[] = { event_string, NULL }; | 337 | char *envp[] = { event_string, NULL }; |
338 | 338 | ||
339 | bay_dprintk(handle, "Bay event"); | 339 | bay_dprintk(handle, "Bay event"); |
340 | sprintf(event_string, "BAY_EVENT=%d\n", event); | 340 | sprintf(event_string, "BAY_EVENT=%d", event); |
341 | kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp); | 341 | kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp); |
342 | } | 342 | } |
343 | 343 | ||