Fix typos in apps/apps.c
This commit is contained in:
parent
c9edf6fe98
commit
53bb3bee34
@ -1604,8 +1604,9 @@ int rotate_serial(char *serialfile, char *new_suffix, char *old_suffix)
|
|||||||
{
|
{
|
||||||
if (errno != ENOENT
|
if (errno != ENOENT
|
||||||
#ifdef ENOTDIR
|
#ifdef ENOTDIR
|
||||||
&& errno != ENOTDIR)
|
&& errno != ENOTDIR
|
||||||
#endif
|
#endif
|
||||||
|
)
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -1893,8 +1894,9 @@ int rotate_index(const char *dbfile, const char *new_suffix, const char *old_suf
|
|||||||
{
|
{
|
||||||
if (errno != ENOENT
|
if (errno != ENOENT
|
||||||
#ifdef ENOTDIR
|
#ifdef ENOTDIR
|
||||||
&& errno != ENOTDIR)
|
&& errno != ENOTDIR
|
||||||
#endif
|
#endif
|
||||||
|
)
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -1929,8 +1931,9 @@ int rotate_index(const char *dbfile, const char *new_suffix, const char *old_suf
|
|||||||
{
|
{
|
||||||
if (errno != ENOENT
|
if (errno != ENOENT
|
||||||
#ifdef ENOTDIR
|
#ifdef ENOTDIR
|
||||||
&& errno != ENOTDIR)
|
&& errno != ENOTDIR
|
||||||
#endif
|
#endif
|
||||||
|
)
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user