commit | c3c7120d552989be94c9137989be5abb6da8954f | [log] [tgz] |
---|---|---|
author | Andrey Panin <pazke@donpac.ru> | Tue Sep 06 15:18:28 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Sep 07 16:57:44 2005 -0700 |
tree | 0d68ff5c4586b1514443a61918f4c52024d60157 | |
parent | 4e70b9a3d68909ad7e79bf6e1b0dcec6de922a7c [diff] |
[PATCH] dmi: make dmi_string() behave like strdup() This patch changes dmi_string() function to allocate string copy by itself, to avoid code duplication in the next patch. Signed-off-by: Andrey Panin <pazke@donpac.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>