]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hwclock: cleanup strtoxx_or_err()
authorKarel Zak <kzak@redhat.com>
Tue, 15 May 2012 15:44:02 +0000 (17:44 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 15 May 2012 15:44:02 +0000 (17:44 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
hwclock/hwclock.c

index a19a9649069463123846ff422f6293a691338478..bf1b4beda61b5ee5af9216adc16696203a031703 100644 (file)
@@ -1600,7 +1600,7 @@ int main(int argc, char **argv)
                        break;
                case OPT_EPOCH:
                        epoch_option =          /* --epoch */
-                           strtoul_or_err(optarg, _("failed to parse epoch"));
+                           strtoul_or_err(optarg, _("invalid epoch argument"));
                        break;
                case OPT_ADJFILE:
                        adj_file_name = optarg; /* --adjfile */