diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2014-01-03 22:51:29 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2014-01-03 23:06:41 +0100 |
commit | 496289f26ac6a1833c1d649665456c61277b03ee (patch) | |
tree | 2b86f54ca5ff76b43b22f9e1a31c9c69081e51a9 /src | |
parent | c2aa1264fc52f6df08868986ed81b2d199059f7c (diff) | |
download | ratpoison-496289f26ac6a1833c1d649665456c61277b03ee.zip |
strdup -> xstrdup
Diffstat (limited to 'src')
-rw-r--r-- | src/actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c index 7cbdba4..8796e98 100644 --- a/src/actions.c +++ b/src/actions.c @@ -2664,7 +2664,7 @@ spawn(char *cmd, int raw, rp_frame *frame) /* Add this child process to our list. */ child = xmalloc (sizeof (rp_child_info)); - child->cmd = strdup (cmd); + child->cmd = xstrdup (cmd); child->pid = pid; child->terminated = 0; child->frame = frame; |