summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2020-03-25 18:00:50 -0700
committerLee Duncan <lduncan@suse.com>2020-03-25 18:00:50 -0700
commitb32f59619c32ed6cd136194d92c649b74926c6f2 (patch)
treecc97c62dfd2cd82bf3def1384712476b5d6cb0c6 /utils/Makefile
parent496f5c3f40ce5893ddb3c6e5314a21fc41652696 (diff)
downloadopen-iscsi-b32f59619c32ed6cd136194d92c649b74926c6f2.tar.gz
Fix issue where "iscsi-iname -p" core dumps.
While I was at it, I made the usage message a function and made it print to stderr insted of stdout.
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile
index f65f1e7..aed3bb0 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -1,7 +1,7 @@
# This Makefile will work only with GNU make.
CFLAGS ?= -O2 -fno-inline -g
-CFLAGS += -Wall -Wstrict-prototypes
+CFLAGS += -Wall -Wextra -Wstrict-prototypes
PROGRAMS = iscsi-iname
all: $(PROGRAMS)