From 29aa58a639334f34b8a5f1629a0b469cdf577c68 Mon Sep 17 00:00:00 2001 From: Yuri Pankov Date: Tue, 16 Oct 2018 16:00:41 +0000 Subject: pw: (file == NULL) check is always false in read_userconfig(), remove it. Drop the now unused _PATH_PW_CONF definition. [1] While here, change the last remaining hardcoded "/etc" to _PATH_PWD. Noted by: glebius [1] Reviewed by: eugen Approved by: re (gjb), kib (mentor) Differential Revision: https://reviews.freebsd.org/D17575 --- pw/pw.h | 1 - 1 file changed, 1 deletion(-) (limited to 'pw/pw.h') diff --git a/pw/pw.h b/pw/pw.h index d5e2c60..1e09722 100644 --- a/pw/pw.h +++ b/pw/pw.h @@ -65,7 +65,6 @@ enum _which #define _DEF_DIRMODE (S_IRWXU | S_IRWXG | S_IRWXO) #define _PW_CONF "pw.conf" -#define _PATH_PW_CONF "/etc/pw.conf" #define _UC_MAXLINE 1024 #define _UC_MAXSHELLS 32 -- cgit v1.2.3