diff options
Diffstat (limited to 'drivers/isdn/hardware/avm/b1isa.c')
-rw-r--r-- | drivers/isdn/hardware/avm/b1isa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hardware/avm/b1isa.c b/drivers/isdn/hardware/avm/b1isa.c index 80fb488848b8..1e288eeb5e2a 100644 --- a/drivers/isdn/hardware/avm/b1isa.c +++ b/drivers/isdn/hardware/avm/b1isa.c | |||
@@ -203,9 +203,9 @@ static int __init b1isa_init(void) | |||
203 | char rev[32]; | 203 | char rev[32]; |
204 | int i; | 204 | int i; |
205 | 205 | ||
206 | if ((p = strchr(revision, ':')) != 0 && p[1]) { | 206 | if ((p = strchr(revision, ':')) != NULL && p[1]) { |
207 | strlcpy(rev, p + 2, 32); | 207 | strlcpy(rev, p + 2, 32); |
208 | if ((p = strchr(rev, '$')) != 0 && p > rev) | 208 | if ((p = strchr(rev, '$')) != NULL && p > rev) |
209 | *(p-1) = 0; | 209 | *(p-1) = 0; |
210 | } else | 210 | } else |
211 | strcpy(rev, "1.0"); | 211 | strcpy(rev, "1.0"); |