svn commit: r187956 - head/sbin/reboot
Bjoern A. Zeeb
bz at FreeBSD.org
Sat Jan 31 05:48:16 PST 2009
Author: bz
Date: Sat Jan 31 13:48:15 2009
New Revision: 187956
URL: http://svn.freebsd.org/changeset/base/187956
Log:
Remove and unused variable.
Submitted by: Christoph Mallon christoph.mallon at gmx.de
MFC after: 2 weeks
Modified:
head/sbin/reboot/reboot.c
Modified: head/sbin/reboot/reboot.c
==============================================================================
--- head/sbin/reboot/reboot.c Sat Jan 31 12:48:09 2009 (r187955)
+++ head/sbin/reboot/reboot.c Sat Jan 31 13:48:15 2009 (r187956)
@@ -65,7 +65,7 @@ int
main(int argc, char *argv[])
{
const struct passwd *pw;
- int ch, howto, i, fd, lflag, nflag, qflag, pflag, sverrno;
+ int ch, howto, i, fd, lflag, nflag, qflag, sverrno;
u_int pageins;
const char *p, *user, *kernel = NULL;
@@ -91,7 +91,6 @@ main(int argc, char *argv[])
howto |= RB_NOSYNC;
break;
case 'p':
- pflag = 1;
howto |= RB_POWEROFF;
break;
case 'q':
More information about the svn-src-all
mailing list