cvs commit: src/usr.sbin/lptcontrol lptcontrol.c

Liam J. Foy liamfoy at crater.dragonflybsd.org
Sun Jan 23 11:53:35 PST 2005


liamfoy     2005/01/23 11:52:30 PST

DragonFly src repository

  Modified files:
    usr.sbin/lptcontrol  lptcontrol.c 
  Log:
  General clean up of lptcontrol. Similar to FreeBSD 1.15
  with my modifications:
  
  - Remove many unnecessary headers and sort them
  - Remove unused #define (PATH_LPCTL)
  - Don't bother calling set_interrupt_status. Just call
    both open(2) and ioctl(2) in main.
  - Remove modes in open(2)
  
  Revision  Changes    Path
  1.4       +41 -36    src/usr.sbin/lptcontrol/lptcontrol.c


http://www.dragonflybsd.org/cvsweb/src/usr.sbin/lptcontrol/lptcontrol.c.diff?r1=1.3&r2=1.4&f=u





More information about the Commits mailing list