diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c index 44d3a99a7..2e7228d3c 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -13083,7 +13083,6 @@ init(void) | |||
13083 | /* from var.c: */ | 13083 | /* from var.c: */ |
13084 | { | 13084 | { |
13085 | char **envp; | 13085 | char **envp; |
13086 | char ppid[sizeof(int)*3 + 2]; | ||
13087 | const char *p; | 13086 | const char *p; |
13088 | struct stat st1, st2; | 13087 | struct stat st1, st2; |
13089 | 13088 | ||
@@ -13094,8 +13093,7 @@ init(void) | |||
13094 | } | 13093 | } |
13095 | } | 13094 | } |
13096 | 13095 | ||
13097 | sprintf(ppid, "%u", (unsigned) getppid()); | 13096 | setvar("PPID", utoa(getppid()), 0); |
13098 | setvar("PPID", ppid, 0); | ||
13099 | 13097 | ||
13100 | p = lookupvar("PWD"); | 13098 | p = lookupvar("PWD"); |
13101 | if (p) | 13099 | if (p) |