summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/cmd/sgs/tools/common/sgsmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/sgs/tools/common/sgsmsg.c b/usr/src/cmd/sgs/tools/common/sgsmsg.c
index 1cdd584c74..f09b8539bb 100644
--- a/usr/src/cmd/sgs/tools/common/sgsmsg.c
+++ b/usr/src/cmd/sgs/tools/common/sgsmsg.c
@@ -665,6 +665,7 @@ file()
uint_t bufsize;
char *token_buffer;
int escape = 0;
+ int len = 0;
if ((token_buffer = malloc(LINE_MAX)) == 0) {
(void) fprintf(stderr, Errmsg_nmem, strerror(errno));
@@ -676,7 +677,6 @@ file()
while ((token = fgets(buffer, LINE_MAX, fddesc)) != NULL) {
char defn[PATH_MAX], * _defn, * str;
- int len;
switch (*token) {
case '#':