Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/loginutils/vlock.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 38  int vlock_main(int argc UNUSED_PARAM, ch Line 38  int vlock_main(int argc UNUSED_PARAM, ch
38   struct termios term;   struct termios term;
39   struct termios oterm;   struct termios oterm;
40   struct vt_mode ovtm;   struct vt_mode ovtm;
  uid_t uid;  
41   struct passwd *pw;   struct passwd *pw;
 /* XXX: xgetpwuid */  
  uid = getuid();  
  pw = getpwuid(uid);  
  if (pw == NULL)  
  bb_error_msg_and_die("unknown uid %d", (int)uid);  
42    
43     pw = xgetpwuid(getuid());
44   opt_complementary = "=0"; /* no params! */   opt_complementary = "=0"; /* no params! */
45   getopt32(argv, "a");   getopt32(argv, "a");
46    

Legend:
Removed from v.983  
changed lines
  Added in v.984