lkml.org 
[lkml]   [2007]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: PROBLEM: "Make nenuconfig" does not save parameters.
    Date
    Hi,

    On Sunday 11 March 2007 20:50, Sam Ravnborg wrote:

    > + sym = sym_lookup("KERNELVERSION", 0);
    > + sym_calc_value(sym);
    > + size = snprintf(menu_backtitle, sizeof(menu_backtitle),
    > + _("%s - Linux Kernel v%s Configuration"),
    > + config_filename, sym_get_string_value(sym));

    An alternative might to only show the filename, only if explicitly set.

    > + set_config_filename(".config");

    Please don't hardcode the filename, use conf_get_configname() instead.

    bye, Roman
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-03-18 17:15    [W:3.430 / U:0.176 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site