run: Improve error diagnostics for chdir(2) failure.
[dss.git] / exec.c
diff --git a/exec.c b/exec.c
index 56d37ea3629e6d21c2a439e7a9049d9129a51866..920ea0e2e9086bee1b5d82e72a8f051ad32efd3a 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003-2011 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2003-2011 Andre Noll <maan@tuebingen.mpg.de>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -15,8 +15,8 @@
 
 #include "gcc-compat.h"
 #include "log.h"
-#include "error.h"
-#include "string.h"
+#include "err.h"
+#include "str.h"
 #include "exec.h"
 
 /**
@@ -50,7 +50,7 @@ void dss_exec(pid_t *pid, const char *file, char *const *const args)
  * Exec the command given as a command line.
  *
  * \param pid Will hold the pid of the created process upon return.
- * \param cmdline Holds the command and its arguments, seperated by spaces.
+ * \param cmdline Holds the command and its arguments, separated by spaces.
  *
  * This function uses fork/exec to create a new process.
  *