]> granicus.if.org Git - sudo/commitdiff
fix typo that prevented compilation on FreeBSD
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 14 Feb 2017 20:19:45 +0000 (13:19 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 14 Feb 2017 20:19:45 +0000 (13:19 -0700)
lib/util/strtoid.c

index 34f732a7bc8849e413fd2c5f0fe2a864aa8c1719..125ba93bca3ef2a51c46cb027a342c0d9d43766f 100644 (file)
@@ -80,7 +80,7 @@ sudo_strtoid_v1(const char *p, const char *sep, char **endp, const char **errstr
     }
     if (errno == ERANGE) {
        if (errstr != NULL) {
-           if (llval == LLONG_MAX)) {
+           if (llval == LLONG_MAX)
                *errstr = N_("value too large");
            else
                *errstr = N_("value too small");