summaryrefslogtreecommitdiff
path: root/usr/src/tools/ctf/ctfstrip
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/tools/ctf/ctfstrip')
-rw-r--r--usr/src/tools/ctf/ctfstrip/Makefile3
-rw-r--r--usr/src/tools/ctf/ctfstrip/ctfstrip.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/tools/ctf/ctfstrip/Makefile b/usr/src/tools/ctf/ctfstrip/Makefile
index d28a9e925e..dee8591408 100644
--- a/usr/src/tools/ctf/ctfstrip/Makefile
+++ b/usr/src/tools/ctf/ctfstrip/Makefile
@@ -13,10 +13,11 @@
PROG = ctfstrip
SRCS = \
- ctfstrip.c
+ ctfstrip.c
CFLAGS += $(CCVERBOSE)
include $(SRC)/tools/Makefile.tools
+CERRWARN += -_gcc=-Wno-unused-variable
OBJS = $(SRCS:%.c=%.o)
LINTFILES = $(SRCS:%.c=%.ln)
diff --git a/usr/src/tools/ctf/ctfstrip/ctfstrip.c b/usr/src/tools/ctf/ctfstrip/ctfstrip.c
index a14e8d5957..60180c6921 100644
--- a/usr/src/tools/ctf/ctfstrip/ctfstrip.c
+++ b/usr/src/tools/ctf/ctfstrip/ctfstrip.c
@@ -126,7 +126,8 @@ fix_file(const char *filename, mode_t mode)
}
cmd[4] = filename;
- if ((rc = posix_spawn(&pid, MCS, NULL, &attr, (char *const *)cmd, environ)) != 0) {
+ if ((rc = posix_spawn(&pid, MCS, NULL, &attr,
+ (char *const *)cmd, environ)) != 0) {
warnx("could not exec mcs: %s", strerror(rc));
return (B_FALSE);
}