* mount.cc (from_fstab): Fix potentially fatal typo.
This commit is contained in:
parent
a016fed8ba
commit
5578c33733
|
@ -1,3 +1,7 @@
|
|||
2010-08-13 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* mount.cc (from_fstab): Fix potentially fatal typo.
|
||||
|
||||
2010-08-11 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* mount.cc (do_mount): Don't treat "bind" mount as remote mount.
|
||||
|
|
|
@ -130,7 +130,7 @@ from_fstab (bool user)
|
|||
while (fgets (buf, 65536, fh))
|
||||
{
|
||||
char *c = strrchr (buf, '\n');
|
||||
if (*c)
|
||||
if (c)
|
||||
*c = '\0';
|
||||
if (from_fstab_line (m, buf, user))
|
||||
++m;
|
||||
|
|
Loading…
Reference in New Issue