aboutsummaryrefslogtreecommitdiff
path: root/bin/chmod
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1995-03-19 13:29:28 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1995-03-19 13:29:28 +0000
commit0fd510b71aa44308681d2e01c9d772f32af24313 (patch)
tree163891f0a6f18e48e3d38e4d107ad82c2f5c570a /bin/chmod
parent967a3bf89387d29910172d5d39863b19da1c3685 (diff)
downloadsrc-0fd510b71aa44308681d2e01c9d772f32af24313.tar.gz
src-0fd510b71aa44308681d2e01c9d772f32af24313.zip
You will find enclosed some changes to make gcc -Wall more happy in
/usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier)
Notes
Notes: svn path=/head/; revision=7165
Diffstat (limited to 'bin/chmod')
-rw-r--r--bin/chmod/chmod.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c
index 1e3dab019ea8..c02994df9bd7 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: chmod.c,v 1.2 1994/09/24 02:53:37 davidg Exp $
+ * $Id: chmod.c,v 1.3 1995/02/03 22:21:09 bde Exp $
*/
#ifndef lint
@@ -70,6 +70,8 @@ main(argc, argv)
int Hflag, Lflag, Pflag, Rflag, ch, fflag, fts_options, hflag, rval;
char *ep, *mode;
+ set = NULL;
+ omode = 0;
Hflag = Lflag = Pflag = Rflag = fflag = hflag = 0;
while ((ch = getopt(argc, argv, "HLPRXfgorstuwx")) != EOF)
switch (ch) {