diff options
Diffstat (limited to 'daemon/file.c')
-rw-r--r-- | daemon/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/file.c b/daemon/file.c index 7854adef..62de1168 100644 --- a/daemon/file.c +++ b/daemon/file.c @@ -430,7 +430,7 @@ do_file (const char *path) char *buf; int len; - if (strncmp (path, "/dev/", 5) == 0) + if (STREQLEN (path, "/dev/", 5)) buf = (char *) path; else { buf = sysroot_path (path); |