ChangeSet 1.1832.55.5, 2004/09/04 01:20:44+02:00, greg@kroah.com kobject: adjust hotplug_seqnum increment to keep userspace and kernel agreeing. lib/kobject.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/lib/kobject.c b/lib/kobject.c --- a/lib/kobject.c 2004-10-19 09:23:30 -07:00 +++ b/lib/kobject.c 2004-10-19 09:23:30 -07:00 @@ -178,7 +178,7 @@ scratch += sprintf(scratch, "ACTION=%s", action) + 1; spin_lock(&sequence_lock); - seq = hotplug_seqnum++; + seq = ++hotplug_seqnum; spin_unlock(&sequence_lock); envp [i++] = scratch;