summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ea0473f)
So we can ensure that error output is directed appropriately, use
nfs_error() instead of perror() in start_statd().
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
execl(START_STATD, START_STATD, NULL);
exit(1);
case -1: /* error */
execl(START_STATD, START_STATD, NULL);
exit(1);
case -1: /* error */
+ nfs_error(_("fork failed: %s"),
+ strerror(errno));
break;
default: /* parent */
waitpid(pid, NULL,0);
break;
default: /* parent */
waitpid(pid, NULL,0);