Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2001 15:50:03 +0000
From:      Ben Smithurst <ben@FreeBSD.org>
To:        audit@FreeBSD.org
Subject:   fix for 'tunefs -p'
Message-ID:  <20010128155003.A68581@platinum.scientia.demon.co.uk>

next in thread | raw e-mail | index | archive | help
tunefs -p seems to be broken, since the relevent case in the switch
doesn't set found_arg = 1.  This patch fixes it, any objections?

Index: tunefs.c
===================================================================
RCS file: /usr/cvs/src/sbin/tunefs/tunefs.c,v
retrieving revision 1.14
diff -u -r1.14 tunefs.c
--- tunefs.c	2000/12/10 20:59:30	1.14
+++ tunefs.c	2001/01/28 15:48:05
@@ -165,6 +165,7 @@
 		oflag = 1;
 		break;
 	  case 'p':
+		found_arg = 1;
 		pflag = 1;
 		break;
 	  default:

-- 
Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010128155003.A68581>