#endif
#include "util.h"
-#include "wrappers.h"
+#include <fcntl.h>
+#include <errno.h>
+
+#define ENSC_WRAPPERS_PREFIX "exec-cd: "
+#define ENSC_WRAPPERS_FCNTL 1
+#define ENSC_WRAPPERS_UNISTD 1
+#include <wrappers.h>
int wrapper_exit_code = 255;
WRITE_MSG(fd, "Usage: ");
WRITE_STR(fd, cmd);
WRITE_MSG(fd,
- "[--] <dir> <cmd> <args>*\n\n"
+ " [--] <dir> <cmd> <args>*\n\n"
"Please report bugs to " PACKAGE_BUGREPORT "\n");
exit(res);
}
if (argc<idx+2) {
WRITE_MSG(2, "Not enough parameters; use '--help' for more information\n");
- return wrapper_exit_code;
+ return wrapper_exit_code;
}