mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
9p: Missing call to reply_with_perror.
This commit is contained in:
@@ -48,8 +48,10 @@ do_list_9p (void)
|
||||
dir = opendir (BUS_PATH);
|
||||
if (!dir) {
|
||||
perror ("opendir: " BUS_PATH);
|
||||
if (errno != ENOENT)
|
||||
if (errno != ENOENT) {
|
||||
reply_with_perror ("opendir: " BUS_PATH);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* If this directory doesn't exist, it probably means that
|
||||
* the virtio driver isn't loaded. Don't return an error
|
||||
|
||||
Reference in New Issue
Block a user