@@ -173,7 +173,7 @@ fedfs_create_junction_host(const char *hostname, const char *nettype,
break;
default:
xlog(L_ERROR, "%s",
- admin_open_perror(admin_hostname(host)));
+ admin_open_perror(hostname));
}
return status;
@@ -173,7 +173,7 @@ fedfs_create_replication_host(const char *hostname, const char *nettype,
break;
default:
xlog(L_ERROR, "%s",
- admin_open_perror(admin_hostname(host)));
+ admin_open_perror(hostname));
}
return status;
@@ -163,7 +163,7 @@ fedfs_delete_junction_host(const char *hostname, const char *nettype,
break;
default:
xlog(L_ERROR, "%s",
- admin_open_perror(admin_hostname(host)));
+ admin_open_perror(hostname));
}
return status;
@@ -163,7 +163,7 @@ fedfs_delete_replication_host(const char *hostname, const char *nettype,
break;
default:
xlog(L_ERROR, "%s",
- admin_open_perror(admin_hostname(host)));
+ admin_open_perror(hostname));
}
return status;
@@ -190,7 +190,7 @@ fedfs_get_limited_nsdb_params_host(const char *hostname, const char *nettype,
break;
default:
xlog(L_ERROR, "%s",
- admin_open_perror(admin_hostname(host)));
+ admin_open_perror(hostname));
}
return status;
@@ -206,7 +206,7 @@ fedfs_get_nsdb_params_host(const char *hostname, const char *nettype,
break;
default:
xlog(L_ERROR, "%s",
- admin_open_perror(admin_hostname(host)));
+ admin_open_perror(hostname));
}
return status;
@@ -242,7 +242,7 @@ fedfs_lookup_junction_host(const char *hostname, const char *nettype,
break;
default:
xlog(L_ERROR, "%s",
- admin_open_perror(admin_hostname(host)));
+ admin_open_perror(hostname));
}
return status;
@@ -243,7 +243,7 @@ fedfs_lookup_replication_host(const char *hostname, const char *nettype,
break;
default:
xlog(L_ERROR, "%s",
- admin_open_perror(admin_hostname(host)));
+ admin_open_perror(hostname));
}
return status;
@@ -156,7 +156,7 @@ fedfs_null_host(const char *hostname, const char *nettype,
break;
default:
xlog(L_ERROR, "%s",
- admin_open_perror(admin_hostname(host)));
+ admin_open_perror(hostname));
}
return status;
@@ -176,7 +176,7 @@ fedfs_set_nsdb_params_host(const char *hostname, const char *nettype,
break;
default:
xlog(L_ERROR, "%s",
- admin_open_perror(admin_hostname(host)));
+ admin_open_perror(hostname));
}
return status;
Displaying an error message tries to dereference "host" but it was never initialized. Fixes: f088d2e7956e ('fedfsc: Convert fedfs-create-junction ...') Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- src/fedfsc/fedfs-create-junction.c | 2 +- src/fedfsc/fedfs-create-replication.c | 2 +- src/fedfsc/fedfs-delete-junction.c | 2 +- src/fedfsc/fedfs-delete-replication.c | 2 +- src/fedfsc/fedfs-get-limited-nsdb-params.c | 2 +- src/fedfsc/fedfs-get-nsdb-params.c | 2 +- src/fedfsc/fedfs-lookup-junction.c | 2 +- src/fedfsc/fedfs-lookup-replication.c | 2 +- src/fedfsc/fedfs-null.c | 2 +- src/fedfsc/fedfs-set-nsdb-params.c | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-)