diff options
author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
---|---|---|
committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
commit | 709e8f9ae1d734c1a163c9b421df4b8153939ce7 (patch) | |
tree | 15a9c7203efd47ba6dde2896fdb6327dddd4547f /usr.sbin/lptcontrol/lptcontrol.c | |
parent | 010f5413b5781bc362fde190ec835a424ec8d28e (diff) | |
download | src-709e8f9ae1d734c1a163c9b421df4b8153939ce7.tar.gz src-709e8f9ae1d734c1a163c9b421df4b8153939ce7.zip |
Remove trailing whitespace.
Notes
Notes:
svn path=/head/; revision=8857
Diffstat (limited to 'usr.sbin/lptcontrol/lptcontrol.c')
-rw-r--r-- | usr.sbin/lptcontrol/lptcontrol.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/lptcontrol/lptcontrol.c b/usr.sbin/lptcontrol/lptcontrol.c index cbe0410a0520..f297b330d5ec 100644 --- a/usr.sbin/lptcontrol/lptcontrol.c +++ b/usr.sbin/lptcontrol/lptcontrol.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: lptcontrol.c,v 1.1.1.1 1994/09/03 13:10:09 csgr Exp $ + * $Id: lptcontrol.c,v 1.2 1994/09/03 22:46:50 csgr Exp $ */ #include <ctype.h> @@ -91,18 +91,18 @@ int main (int argc, char * argv[]) int opt; int irq_status = IRQ_INVALID; char * unit = DEFAULT_UNIT; - + while((opt = getopt(argc, argv, "ipu:")) != -1) switch(opt) { case 'i': irq_status = USE_IRQ; break; case 'p': irq_status = DO_POLL; break; - case 'u': unit = optarg; + case 'u': unit = optarg; if(!isdigit(*unit)) usage(argv[0]); break; - default : usage(argv[0]); + default : usage(argv[0]); } - if(irq_status == IRQ_INVALID) + if(irq_status == IRQ_INVALID) usage(argv[0]); set_interrupt_status(irq_status, dev_file(*unit)); |