Skip to contentSkip to conversation

Fix comment in kobject_set_name

PATCH/TRIVIAL Applied Dmitry Torokhov 2 participants 2 messages Aug 24, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

===================================================================

[email protected], 2004-08-21 23:07:15-05:00, [email protected]
kobject: fix kobject_set_name comment.

 kobject.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

===================================================================

lib/kobject.c +1 -1
diff -Nru a/lib/kobject.c b/lib/kobject.c
@@ -325,7 +325,7 @@
  *	@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.
  */
Applied
#1 lore raw
Quoted 5 lines · Dmitry Torokhov

===================================================================

[email protected], 2004-08-21 23:07:15-05:00, [email protected]
kobject: fix kobject_set_name comment.

Applied, thanks.

greg k-h