comparison toys/pwd.c @ 90:7c77c6ec17ee

Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.
author Rob Landley <rob@landley.net>
date Wed, 31 Jan 2007 14:37:01 -0500
parents fb56ba93afa3
children 25447caf1b4b
comparison
equal deleted inserted replaced
89:4f5cdc6552da 90:7c77c6ec17ee
8 int pwd_main(void) 8 int pwd_main(void)
9 { 9 {
10 char *pwd = xgetcwd(); 10 char *pwd = xgetcwd();
11 11
12 xprintf("%s\n", pwd); 12 xprintf("%s\n", pwd);
13 if (CFG_TOYS_FREE) free(pwd); 13 if (CFG_TOYBOX_FREE) free(pwd);
14 14
15 return 0; 15 return 0;
16 } 16 }