HDFS-3790. test_fuse_dfs.c doesn't compile on centos 5. Contributed by Colin Patrick McCabe.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1372678 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
710c4e5906
commit
080455d1cc
|
@ -431,6 +431,9 @@ Release 2.0.1-alpha - UNRELEASED
|
|||
HDFS-2330. In NNStorage.java, IOExceptions of stream closures can mask
|
||||
root exceptions. (umamahesh via todd)
|
||||
|
||||
HDFS-3790. test_fuse_dfs.c doesn't compile on centos 5. (Colin Patrick
|
||||
McCabe via atm)
|
||||
|
||||
BREAKDOWN OF HDFS-3042 SUBTASKS
|
||||
|
||||
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
||||
|
|
|
@ -75,7 +75,7 @@ static int fuserMount(int *procRet, ...)
|
|||
{
|
||||
int ret, status;
|
||||
size_t i = 0;
|
||||
char *args[64], *c, *env[] = { NULL };
|
||||
char *args[64], *c;
|
||||
va_list ap;
|
||||
pid_t pid, pret;
|
||||
|
||||
|
@ -99,7 +99,7 @@ static int fuserMount(int *procRet, ...)
|
|||
ret, strerror(ret));
|
||||
return -ret;
|
||||
} else if (pid == 0) {
|
||||
if (execvpe("fusermount", args, env)) {
|
||||
if (execvp("fusermount", args)) {
|
||||
ret = errno;
|
||||
fprintf(stderr, "FUSE_TEST: failed to execute fusermount: "
|
||||
"error %d: %s\n", ret, strerror(ret));
|
||||
|
|
Loading…
Reference in New Issue