summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-01-03 22:51:29 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-01-03 23:06:41 +0100
commit496289f26ac6a1833c1d649665456c61277b03ee (patch)
tree2b86f54ca5ff76b43b22f9e1a31c9c69081e51a9
parentc2aa1264fc52f6df08868986ed81b2d199059f7c (diff)
downloadratpoison-496289f26ac6a1833c1d649665456c61277b03ee.zip
strdup -> xstrdup
-rw-r--r--src/actions.c2
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;