]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix compilation error with new fstype_cmp() function
authorEric Bollengier <eric@baculasystems.com>
Tue, 22 Sep 2015 15:29:54 +0000 (17:29 +0200)
committerEric Bollengier <eric@baculasystems.com>
Tue, 22 Sep 2015 15:29:54 +0000 (17:29 +0200)
bacula/src/findlib/fstype.c

index 55ac70a03f608874341f9bc001b6a23e7d157285..c2bc83d7d420a8a1789f9aa0a90962934ee1103d 100644 (file)
@@ -87,7 +87,7 @@ void add_mtab_item(void *user_ctx, struct stat *st, const char *fstype,
 }
 
 /* Compare directly the FS from a fname with a string */
-bool fstype_cmp(FF_PKT *ff_pkt, const char fsname)
+bool fstype_cmp(FF_PKT *ff_pkt, const char *fsname)
 {
    char buf[256];
    if (fstype(ff_pkt, buf, sizeof(buf))) {