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

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

Diff for /src/sbin/gpt/label.c between version 1.3.2.1 and 1.3.2.2

version 1.3.2.1, 2007/02/20 15:13:59 version 1.3.2.2, 2008/04/08 20:32:38
Line 50  static off_t block, size;
Line 50  static off_t block, size;
 static unsigned int entry;  static unsigned int entry;
 static uint8_t *name;  static uint8_t *name;
   
   const char labelmsg1[] = "label -a <-l label | -f file> device ...";
   const char labelmsg2[] = "label [-b lba] [-i index] [-s lba]";
   const char labelmsg3[] = "      [-t uuid] <-l label | -f file> device ...";
   
 static void  static void
 usage_label(void)  usage_label(void)
 {  {
         const char *common = "<-l label | -f file> device ...";  
   
         fprintf(stderr,          fprintf(stderr,
             "usage: %s -a %s\n"              "usage: %s %s\n"
             "       %s [-b lba] [-i index] [-s lba] [-t uuid] %s\n",              "       %s %s\n"
             getprogname(), common, getprogname(), common);              "       %*s %s\n", getprogname(), labelmsg1,
               getprogname(), labelmsg2, (int)strlen(getprogname()), "", labelmsg3);
         exit(1);          exit(1);
 }  }
   

Legend:
Removed from v.1.3.2.1  
changed lines
  Added in v.1.3.2.2

CVSweb <webmaster@jp.NetBSD.org>