diff options
| author | Stefan Farfeleder <stefanf@FreeBSD.org> | 2005-03-08 21:46:18 +0000 |
|---|---|---|
| committer | Stefan Farfeleder <stefanf@FreeBSD.org> | 2005-03-08 21:46:18 +0000 |
| commit | f51df9ed11373ddb551e81d7c8da4e5b3aaec3a4 (patch) | |
| tree | 39fba09b57a5d6ce68f7da652242910dd166efe9 /lib/libdisk | |
| parent | 9a9ef8b65a2d3fc64c5e448acc39f079221881fa (diff) | |
Notes
Diffstat (limited to 'lib/libdisk')
| -rw-r--r-- | lib/libdisk/open_disk.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libdisk/open_disk.c b/lib/libdisk/open_disk.c index 9e487a9bb154..745065202f0c 100644 --- a/lib/libdisk/open_disk.c +++ b/lib/libdisk/open_disk.c @@ -128,8 +128,7 @@ Int_Open_Disk(const char *name, char *conftxt) lo[0] = 0; for (; p != NULL && *p; p = q) { - if (sn) - sn = NULL; + sn = NULL; q = strchr(p, '\n'); if (q != NULL) *q++ = '\0'; |
