diff options
| author | John Sonnenschein <johns@joyent.com> | 2012-11-07 22:04:45 +0000 |
|---|---|---|
| committer | John Sonnenschein <johns@joyent.com> | 2012-11-07 22:04:45 +0000 |
| commit | ad2a40e16d2bee59cfe84f89db3ce92b9f15adff (patch) | |
| tree | bc8e23c4588b29e4602a54b72dbe2f1d8786468d /usr/src/tools/ctf/ctfstrip | |
| parent | b5f683274309a9c6f46eea8ce5d0cca514d977a8 (diff) | |
| parent | 7c45eec5760d4195b6b85770e7ac51c380adfb8a (diff) | |
| download | illumos-joyent-ad2a40e16d2bee59cfe84f89db3ce92b9f15adff.tar.gz | |
Illumos sync
Diffstat (limited to 'usr/src/tools/ctf/ctfstrip')
| -rw-r--r-- | usr/src/tools/ctf/ctfstrip/Makefile | 3 | ||||
| -rw-r--r-- | usr/src/tools/ctf/ctfstrip/ctfstrip.c | 3 |
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); } |
