]> git.hungrycats.org Git - linux/commitdiff
[PATCH] kobject: fix kobject_set_name comment.
authorDmitry Torokhov <dtor_core@ameritech.net>
Tue, 24 Aug 2004 09:19:31 +0000 (02:19 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 24 Aug 2004 09:19:31 +0000 (02:19 -0700)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
lib/kobject.c

index 24aa09ae069a43dc492708552941b557ea21af44..e1aa086c6a3baf3b1264d3602ceddb389f0e99e3 100644 (file)
@@ -343,7 +343,7 @@ int kobject_register(struct kobject * kobj)
  *     @kobj:  object.
  *     @name:  name. 
  *
- *     If strlen(name) < KOBJ_NAME_LEN, then use a dynamically allocated
+ *     If strlen(name) >= KOBJ_NAME_LEN, then use a dynamically allocated
  *     string that @kobj->k_name points to. Otherwise, use the static 
  *     @kobj->name array.
  */