summary |
log |
commit |
diff |
tree
raw |
patch |
inline | side by side (from parent 1:
f36dd27)
st.c:1321:2: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]
system(cmd);
^~~~~~ ~~~
Debatable whether an error here should case exit(EXIT_FAILURE). Just
preserving the existing behaviour for now.
siz-= n + 1;
}
*q = '\0';
siz-= n + 1;
}
*q = '\0';
+ if (system(cmd) != 0)
+ perror("Couldn't call stty");