[BACK]Return to cpuctl.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.sbin / cpuctl

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.sbin/cpuctl/cpuctl.c between version 1.1 and 1.1.2.1

version 1.1, 2007/08/04 11:03:05 version 1.1.2.1, 2008/03/23 00:50:06
Line 1 
Line 1 
 /*      $NetBSD$        */  /*      cpuctl.c,v 1.1 2007/08/04 11:03:05 ad Exp       */
   
 /*-  /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.   * Copyright (c) 2007 The NetBSD Foundation, Inc.
Line 38 
Line 38 
   
 #ifndef lint  #ifndef lint
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
 __RCSID("$NetBSD$");  __RCSID("cpuctl.c,v 1.1 2007/08/04 11:03:05 ad Exp");
 #endif /* not lint */  #endif /* not lint */
   
 #include <sys/param.h>  #include <sys/param.h>
Line 109  main(int argc, char **argv)
Line 109  main(int argc, char **argv)
 void  void
 usage(void)  usage(void)
 {  {
           const char *progname = getprogname();
   
         (void)fprintf(stderr, "usage: %s <command> [arguments]\n",          fprintf(stderr, "usage: %s list\n", progname);
             getprogname());          fprintf(stderr, "       %s offline cpuid\n", progname);
           fprintf(stderr, "       %s online cpuid\n", progname);
         exit(EXIT_FAILURE);          exit(EXIT_FAILURE);
         /* NOTREACHED */          /* NOTREACHED */
 }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

CVSweb <webmaster@jp.NetBSD.org>