|
|
|
[PATCH 07/17] chfn: use pathnames.h for paths | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Signed-off-by: Sami Kerola <kerolasa@xxxxxx>
---
login-utils/chfn.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/login-utils/chfn.c b/login-utils/chfn.c
index 21c6466..2d9a092 100644
--- a/login-utils/chfn.c
+++ b/login-utils/chfn.c
@@ -142,9 +142,9 @@ int main(int argc, char **argv)
oldf.username);
}
}
- if (setupDefaultContext("/etc/passwd"))
+ if (setupDefaultContext(_PATH_PASSWD))
errx(EXIT_FAILURE,
- _("can't set default context for /etc/passwd"));
+ _("can't set default context for %s"), _PATH_PASSWD);
}
#endif
--
1.7.9.2
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Site Home] [Netdev] [Ethernet Bridging] [Linux Wireless] [Kernel Newbies] [Memory] [Security] [Linux for Hams] [Netfilter] [Bugtraq] [Rubini] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux Admin] [Samba] [Video 4 Linux] [Linux Resources]