kconfig: add xstrdup() helper
[carl9170fw.git] / config / zconf.y
index 02c8550147e5694a0b6773ae587f51bc18626bc1..250d58e7d046a244fd195ea546f48fabdb8ba01e 100644 (file)
@@ -127,7 +127,7 @@ no_mainmenu_stmt: /* empty */
         * later regardless of whether it comes from the 'prompt' in
         * mainmenu_stmt or here
         */
-       menu_add_prompt(P_MENU, strdup("Linux Kernel Configuration"), NULL);
+       menu_add_prompt(P_MENU, xstrdup("Linux Kernel Configuration"), NULL);
 };