diff options
author | Roy Marples <roy@marples.name> | 2007-04-19 14:54:35 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-04-19 14:54:35 +0000 |
commit | 2569e85579bc5c7d676865b386398119f04a5912 (patch) | |
tree | 41724e54856c9323b53428e49258f56f1102c0ed /src/env-update.c | |
parent | 3ed60d52026c484dce2d1856ea3bb893b8ee7d92 (diff) |
strdup -> rc_xstrdup
Diffstat (limited to 'src/env-update.c')
-rw-r--r-- | src/env-update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env-update.c b/src/env-update.c index f3f4f3b8..e0aa63f9 100644 --- a/src/env-update.c +++ b/src/env-update.c @@ -131,7 +131,7 @@ int main (int argc, char **argv) "%s%s", isspecial_spaced ? " " : ":", value); } else { free (envs[k - 1]); - envs[k - 1] = strdup (entry); + envs[k - 1] = rc_xstrdup (entry); } replaced = true; } |