Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63954
b: refs/heads/master
c: 66b5682
h: refs/heads/master
v: v3
  • Loading branch information
Holger Macht authored and Len Brown committed Aug 12, 2007
1 parent 1c76965 commit 30839ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7aa763cb56b6efdfa5c1b83c336abf1be914afcd
refs/heads/master: 66b568218ab73be161dc109b913e6fa7dda44e16
6 changes: 3 additions & 3 deletions trunk/drivers/acpi/dock.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,13 +336,13 @@ static void hotplug_dock_devices(struct dock_station *ds, u32 event)
static void dock_event(struct dock_station *ds, u32 event, int num)
{
struct device *dev = &dock_device->dev;
char event_string[7];
char event_string[13];
char *envp[] = { event_string, NULL };

if (num == UNDOCK_EVENT)
sprintf(event_string, "UNDOCK");
sprintf(event_string, "EVENT=undock");
else
sprintf(event_string, "DOCK");
sprintf(event_string, "EVENT=dock");

/*
* Indicate that the status of the dock station has
Expand Down

0 comments on commit 30839ea

Please sign in to comment.