inline block variable renamed

err shadows function lever err.
Renamed it to error.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
This commit is contained in:
Dmitry Kasatkin 2012-05-18 12:43:59 +03:00
parent 42e40570e6
commit 9c4d793034

View File

@ -1289,14 +1289,14 @@ int main(int argc, char *argv[])
err = call_command(cmds, argv[optind++]); err = call_command(cmds, argv[optind++]);
if (err) { if (err) {
unsigned long err; unsigned long error;
if (errno) if (errno)
log_err("errno: %s (%d)\n", strerror(errno), errno); log_err("errno: %s (%d)\n", strerror(errno), errno);
for (;;) { for (;;) {
err = ERR_get_error(); error = ERR_get_error();
if (!err) if (!error)
break; break;
log_err("%s\n", ERR_error_string(err, NULL)); log_err("%s\n", ERR_error_string(error, NULL));
} }
} }