* details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
#include <signal.h>
#include <errno.h>
#include <pwd.h>
-#include <malloc.h>
#include <time.h>
#ifndef sun /* don't need the nl_types.h file */
#include <nl_types.h>
#include "SharedMsgs.h"
-
+static char unknownmessage[] = "***Unknown shared message***";
/************************************************************************
*
return GETMESSAGE(30,21, "File Move Error");
case FILE_LINK_ERROR_TITLE:
return GETMESSAGE(30,22, "File Link Error");
+ default:
+ fprintf(stderr, "GetSharedMessage: unknown message %d\n", id);
+ return unknownmessage;
}
}