Skip to content

Commit

Permalink
change PATH_PROC to DEFAULT_PATH_PROC
Browse files Browse the repository at this point in the history
  • Loading branch information
Prashanth Joseph Babu committed Dec 11, 2018
1 parent 95f83e4 commit ceeebcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netstat.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ static char prg_cache_loaded = 0;
#define LINE_MAX 4096
#endif

#define PATH_PROC "/proc"
#define DEFAULT_PATH_PROC "/proc"
#define PATH_FD_SUFF "fd"
#define PATH_FD_SUFFl strlen(PATH_FD_SUFF)
#define PATH_PROC_X_FD "%s" "/%s/" PATH_FD_SUFF
Expand Down Expand Up @@ -2057,7 +2057,7 @@ int main

path_proc = getenv("PATH_PROC");
if ( path_proc == NULL ) {
path_proc = PATH_PROC;
path_proc = DEFAULT_PATH_PROC;
}

afname[0] = '\0';
Expand Down

0 comments on commit ceeebcb

Please sign in to comment.