replace literal with constant
authorTj <hacker@iam.tj>
Thu, 8 Oct 2015 00:28:46 +0000 (01:28 +0100)
committerTj <hacker@iam.tj>
Thu, 8 Oct 2015 00:28:46 +0000 (01:28 +0100)
cfe_generate_password.c

index 2e21b45..927b9e6 100644 (file)
@@ -131,7 +131,7 @@ generate_seed(char *mac, char *timestamp, char *seed)
     }
    result = 1;
   } else
-   pr_error_exit(0, "MAC-ADDR should be 17 characters, e.g: 00:01:02:03:04:05");
+   pr_error_exit(0, "MAC-ADDR should be %d characters, e.g: 00:01:02:03:04:05", MAC_ADDR_SIZE);
 
   return result;
 }