From 23ec50a9127d4957d13aca80346eb5450792176a Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 25 Apr 2006 20:21:55 +0000 Subject: [PATCH] Use SE instead of ME for errors associated with a syntax file command. --- src/language/utilities/ChangeLog | 5 +++++ src/language/utilities/permissions.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/language/utilities/ChangeLog b/src/language/utilities/ChangeLog index 4a96aeb9..2b823655 100644 --- a/src/language/utilities/ChangeLog +++ b/src/language/utilities/ChangeLog @@ -1,3 +1,8 @@ +Tue Apr 25 13:21:12 2006 Ben Pfaff + + * permissions.c (change_permissions): Use SE instead of ME for + errors associated with a syntax file command. + Thu Mar 2 08:40:33 WST 2006 John Darrington * Moved files from src directory diff --git a/src/language/utilities/permissions.c b/src/language/utilities/permissions.c index b0a8e27c..9dd911a1 100644 --- a/src/language/utilities/permissions.c +++ b/src/language/utilities/permissions.c @@ -74,7 +74,7 @@ cmd_permissions (void) } else { - msg(ME, _("Expecting %s or %s."), "WRITEABLE", "READONLY"); + msg (SE, _("Expecting %s or %s."), "WRITEABLE", "READONLY"); goto error; } @@ -107,7 +107,7 @@ change_permissions(const char *file_name, enum PER per) if ( -1 == stat(file_name, &buf) ) { const int errnum = errno; - msg(ME,_("Cannot stat %s: %s"), file_name, strerror(errnum)); + msg (SE, _("Cannot stat %s: %s"), file_name, strerror(errnum)); return 0; } @@ -120,7 +120,7 @@ change_permissions(const char *file_name, enum PER per) { const int errnum = errno; - msg(ME,_("Cannot change mode of %s: %s"), file_name, strerror(errnum)); + msg (SE, _("Cannot change mode of %s: %s"), file_name, strerror(errnum)); return 0; } -- 2.30.2