diff options
Diffstat (limited to 'src/extent-scan.c')
-rw-r--r-- | src/extent-scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extent-scan.c b/src/extent-scan.c index d84746c56..f8f8ca6dc 100644 --- a/src/extent-scan.c +++ b/src/extent-scan.c @@ -45,7 +45,7 @@ extent_need_sync (void) need_sync = 0; /* No workaround by default. */ #ifdef __linux__ - if (uname (&name) != -1 && strncmp (name.release, "2.6.", 4) == 0) + if (uname (&name) != -1 && STRNCMP_LIT (name.release, "2.6.") == 0) { unsigned long val; if (xstrtoul (name.release + 4, NULL, 10, &val, NULL) == LONGINT_OK) |