- Timestamp:
- 2006-11-05T13:49:23Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b63a7cc
- Parents:
- 14de0dd8
- Location:
- kernel
- Files:
-
- 2 edited
-
genarch/src/ofw/ofw_tree.c (modified) (3 diffs)
-
generic/src/console/kconsole.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/ofw/ofw_tree.c
r14de0dd8 r1b43a04 38 38 #include <genarch/ofw/ofw_tree.h> 39 39 #include <arch/memstr.h> 40 #include <mm/slab.h> 40 41 #include <func.h> 41 42 #include <print.h> … … 237 238 static void ofw_tree_node_print(const ofw_tree_node_t *node, const char *path) 238 239 { 239 char p[PATH_MAX_LEN]; 240 240 char *p; 241 242 p = (char *) malloc(PATH_MAX_LEN, 0); 243 241 244 if (node->parent) { 242 245 snprintf(p, PATH_MAX_LEN, "%s/%s", path, node->da_name); … … 249 252 if (node->child) 250 253 ofw_tree_node_print(node->child, p); 251 254 252 255 if (node->peer) 253 256 ofw_tree_node_print(node->peer, path); 257 258 free(p); 254 259 } 255 260 -
kernel/generic/src/console/kconsole.c
r14de0dd8 r1b43a04 205 205 static int cmdtab_compl(char *name) 206 206 { 207 char output[MAX_SYMBOL_NAME+1];207 static char output[MAX_SYMBOL_NAME+1]; 208 208 link_t *startpos = NULL; 209 209 const char *foundtxt; … … 245 245 static int histposition = 0; 246 246 247 char tmp[MAX_CMDLINE+1];247 static char tmp[MAX_CMDLINE+1]; 248 248 int curlen = 0, position = 0; 249 249 char *current = history[histposition]; … … 434 434 static int parse_int_arg(char *text, size_t len, unative_t *result) 435 435 { 436 char symname[MAX_SYMBOL_NAME];436 static char symname[MAX_SYMBOL_NAME]; 437 437 uintptr_t symaddr; 438 438 bool isaddr = false;
Note:
See TracChangeset
for help on using the changeset viewer.
