Move start_stop_daemon to debianutils.
[oweals/busybox.git] / coreutils / chmod.c
index 28c98552a33091f690ff505b320a6017a809abb0..390cc6d2c7b36b8d8e338677d510afaeeab95710 100644 (file)
@@ -2,8 +2,7 @@
 /*
  * Mini chmod implementation for busybox
  *
- * Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen
- * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org>
+ * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org>
  *
  * Reworked by (C) 2002 Vladimir Oleynik <dzo@simtreas.ru>
  *  to correctly parse '-rwxgoa'
@@ -38,7 +37,7 @@
 static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
 {
        if (!bb_parse_mode((char *)junk, &(statbuf->st_mode)))
-               bb_error_msg_and_die( "unknown mode: %s", (char *)junk);
+               bb_error_msg_and_die( "invalid mode: %s", (char *)junk);
        if (chmod(fileName, statbuf->st_mode) == 0)
                return (TRUE);
        bb_perror_msg("%s", fileName);  /* Avoid multibyte problems. */