]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - scripts/kconfig/util.c
Merge branch 'for-35' of git://repo.or.cz/linux-kbuild
[net-next-2.6.git] / scripts / kconfig / util.c
index 25d1ec4ca28a0e5ed3090291df8f2f67e2a20b4b..78b5c04e736bcfad3f25d7f85fe2b5660572cb52 100644 (file)
@@ -78,6 +78,7 @@ struct gstr str_new(void)
        struct gstr gs;
        gs.s = malloc(sizeof(char) * 64);
        gs.len = 64;
+       gs.max_width = 0;
        strcpy(gs.s, "\0");
        return gs;
 }
@@ -88,6 +89,7 @@ struct gstr str_assign(const char *s)
        struct gstr gs;
        gs.s = strdup(s);
        gs.len = strlen(s) + 1;
+       gs.max_width = 0;
        return gs;
 }