| 1 | diff --git a/src/plugins/s390.c b/src/plugins/s390.c
|
| 2 | index dcb5bc9f7b..1460166b2d 100644
|
| 3 | |
| 4 | |
| 5 | @@ -973,7 +973,7 @@ gboolean bd_s390_zfcp_offline (const gchar *devno, const gchar *wwpn, const gcha
|
| 6 |
|
| 7 | /* gather the luns */
|
| 8 | pattern = g_strdup_printf ("%s/0x??????????????\?\?/0x????????????????", zfcpsysfs);
|
| 9 | - rc = glob (pattern, GLOB_ONLYDIR, NULL, &luns);
|
| 10 | + rc = glob (pattern, 0x0, NULL, &luns);
|
| 11 | if (rc == GLOB_ABORTED || rc == GLOB_NOSPACE) {
|
| 12 | g_set_error (error, BD_S390_ERROR, BD_S390_ERROR_DEVICE,
|
| 13 | "An error occurred trying to determine if other LUNs are still associated with WWPN %s", wwpn);
|