diff options
| author | Richard PALO <richard@NetBSD.org> | 2015-05-24 06:07:28 +0200 |
|---|---|---|
| committer | Dan McDonald <danmcd@omniti.com> | 2015-05-26 09:33:05 -0400 |
| commit | bb2183e0683124f79bf4b91cf4d48201e752109e (patch) | |
| tree | 0218e63805e53fe22f557a30ee9fc5a4c890d169 /usr/src | |
| parent | 752fd8dabccac68d6d09f82f3bf3561e055e400b (diff) | |
| download | illumos-joyent-bb2183e0683124f79bf4b91cf4d48201e752109e.tar.gz | |
5947 NULL is not a character in asm10k.c
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src')
| -rw-r--r-- | usr/src/uts/common/io/audio/drv/audioemu10k/dsp/asm10k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/asm10k.c b/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/asm10k.c index 0a4ef058a3..af0e0b1cf3 100644 --- a/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/asm10k.c +++ b/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/asm10k.c @@ -214,7 +214,7 @@ getaline(FILE *input, char **tokens) /* strip off any C++ style comments that CPP missed */ if ((s = strstr(line, "//")) != NULL) { - *s = NULL; + *s = '\0'; } stmt = strtok_r(line, ";\n", &lasts); } else { |
