diff options
Diffstat (limited to 'brctl')
-rw-r--r-- | brctl/Makefile.in | 2 | ||||
-rw-r--r-- | brctl/brctl.c | 2 | ||||
-rw-r--r-- | brctl/brctl_cmd.c | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/brctl/Makefile.in b/brctl/Makefile.in index f56bd9c..fd66905 100644 --- a/brctl/Makefile.in +++ b/brctl/Makefile.in @@ -4,7 +4,7 @@ KERNEL_HEADERS=-I@KERNEL_HEADERS@ CC=@CC@ CFLAGS= -Wall -g @CFLAGS@ INCLUDE=-I../libbridge $(KERNEL_HEADERS) -LIBS= -L ../libbridge -lbridge -lsysfs +LIBS= -L ../libbridge -lbridge prefix=@prefix@ exec_prefix=@exec_prefix@ diff --git a/brctl/brctl.c b/brctl/brctl.c index 1849373..267170f 100644 --- a/brctl/brctl.c +++ b/brctl/brctl.c @@ -23,7 +23,7 @@ #include "libbridge.h" #include "brctl.h" -const char *version = "0.9.7"; +const char *version = "0.9.8"; const char *help_message = "commands:\n" diff --git a/brctl/brctl_cmd.c b/brctl/brctl_cmd.c index 5e630e8..99d9725 100644 --- a/brctl/brctl_cmd.c +++ b/brctl/brctl_cmd.c @@ -276,8 +276,7 @@ void br_cmd_stp(struct bridge *br, char *arg0, char *arg1) err = br_set_stp_state(br, stp); if (err) - fprintf(stderr, "set stp status failed: %s\n", - strerror(err)); + fprintf(stderr, "set stp status failed: %d\n", err); } void br_cmd_showstp(struct bridge *br, char *arg0, char *arg1) |